This topic has not yet been rated - Rate this topic

XPathNavigator.MoveToFirstChild Method

Moves to the first child of the current node.

[Visual Basic]
Public MustOverride Function MoveToFirstChild() As Boolean
[C#]
public abstract bool MoveToFirstChild();
[C++]
public: virtual bool MoveToFirstChild() = 0;
[JScript]
public abstract function MoveToFirstChild() : Boolean;

Return Value

true if there is a first child node; otherwise false.

Remarks

Root and Element are the only two XPath node types that can have children. This property always returns false for all other node types.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

XPathNavigator Class | XPathNavigator Members | System.Xml.XPath Namespace | XPathNodeType | MoveToNext | MoveToParent | HasChildren

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.