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!

XmlReader.MoveToAttribute (Int32)

Moves to the attribute with the specified index.

[Visual Basic]
Overloads MustOverride Public Sub MoveToAttribute( _
   ByVal i As Integer _
)
[C#]
public abstract void MoveToAttribute(
   int i
);
[C++]
public: virtual void MoveToAttribute(
   int i
) = 0;
[JScript]
public abstract function MoveToAttribute(
   i : int
);

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.

See Also

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