XPathNavigator.MoveToFirst Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Moves the XPathNavigator to the first sibling node of the current node.
public:
virtual bool MoveToFirst();
public:
abstract bool MoveToFirst();
public virtual bool MoveToFirst ();
public abstract bool MoveToFirst ();
abstract member MoveToFirst : unit -> bool
override this.MoveToFirst : unit -> bool
abstract member MoveToFirst : unit -> bool
Public Overridable Function MoveToFirst () As Boolean
Public MustOverride Function MoveToFirst () As Boolean
Returns
true
if the XPathNavigator is successful moving to the first sibling node of the current node; false
if there is no first sibling, or if the XPathNavigator is currently positioned on an attribute node. If the XPathNavigator is already positioned on the first sibling, XPathNavigator will return true
and will not move its position.
If MoveToFirst() returns false
because there is no first sibling, or if XPathNavigator is currently positioned on an attribute, the position of the XPathNavigator is unchanged.
Applies to
See also
.NET
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示