XPathNavigator.MoveToFirstChild 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.
When overridden in a derived class, moves the XPathNavigator to the first child node of the current node.
public:
abstract bool MoveToFirstChild();
public abstract bool MoveToFirstChild ();
abstract member MoveToFirstChild : unit -> bool
Public MustOverride Function MoveToFirstChild () As Boolean
Returns
true
if the XPathNavigator is successful moving to the first child node of the current node; otherwise, false
. If false
, the position of the XPathNavigator is unchanged.
Examples
For an example of the MoveToFirstChild method, see the Clone method.
Remarks
Root and Element are the only two XPathNodeType values that can have children. This property always returns false
for all other XPathNodeType node types.
Applies to
See also
.NET
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示