Moves to the attribute with the specified index.
[Visual Basic] Overloads Overrides Public Sub MoveToAttribute( _ ByVal i As Integer _ ) [C#] public override void MoveToAttribute( int i ); [C++] public: override void MoveToAttribute( int i ); [JScript] public override 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. |
XmlTextReader Class | XmlTextReader Members | System.NewXml Namespace | XmlTextReader.MoveToAttribute Overload List