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.MoveToAttribute (Int32)

Moves to the attribute with the specified index.

[Visual Basic]
Overloads Overrides Public Function MoveToAttribute( _
   ByVal i As Integer _
) As Boolean
[C#]
public override bool MoveToAttribute(
   int i
);
[C++]
public: override bool MoveToAttribute(
   int i
);
[JScript]
public override function MoveToAttribute(
   i : int
) : Boolean;

Parameters

i
The index of the attribute.

Return Value

true if the attribute is found; otherwise, false. If false, the reader's position does not change.

Exceptions

Exception Type Condition
IndexOutOfRangeException The i parameter is less than 0 or greater than AttributeCount.

Remarks

If you are positioned on an attribute, this method will do an implicit MoveToElement before processing this method.

See Also

DocumentNavigator Class | DocumentNavigator Members | System.NewXml Namespace | DocumentNavigator.MoveToAttribute Overload List