NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

XmlNavigator.MoveToFirst

Moves to the first sibling of the current node.

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

Return Value

true if there is a first sibling node; false if there is no first sibling.

Remarks

If you are positioned on an attribute, this method will do an implicit call to MoveToElement before processing this method. In other words, attribute navigation is orthogonal to tree navigation.

See Also

XmlNavigator Class | XmlNavigator Members | System.NewXml Namespace