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 );
true if the attribute is found; otherwise, false. If false, the reader's position does not change.
Exception Type | Condition |
---|---|
IndexOutOfRangeException | The i parameter is less than 0 or greater than AttributeCount. |
XmlReader Class | XmlReader Members | System.NewXml Namespace | XmlReader.MoveToAttribute Overload List