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!

DocumentNavigator.MoveToFirst

Moves to the first sibling of the current node.

[Visual Basic]
Overrides Public Function MoveToFirst() As Boolean
[C#]
public override bool MoveToFirst();
[C++]
public: override bool MoveToFirst();
[JScript]
public override 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

DocumentNavigator Class | DocumentNavigator Members | System.NewXml Namespace