Move to the specified attribute.
The MoveToAttribute methods enable you to get both random access to attributes and strongly typed access to attribute values.
To get strongly typed access to an attribute value, you must do the following:
After calling MoveToAttribute, the Name, Namespace, Prefix properties will reflect the properties of that attribute.
Moves to the attribute with the specified name.
[Visual Basic] Overloads MustOverride Public Function MoveToAttribute(String) As Boolean
[C#] public abstract bool MoveToAttribute(String);
[C++] public: virtual bool MoveToAttribute(String*) = 0;
[JScript] public abstract function MoveToAttribute(String) : Boolean;
Moves to the attribute with the specified index.
[Visual Basic] Overloads MustOverride Public Function MoveToAttribute(Integer) As Boolean
[C#] public abstract bool MoveToAttribute(int);
[C++] public: virtual bool MoveToAttribute(int) = 0;
[JScript] public abstract function MoveToAttribute(int) : Boolean;
Move to the attribute with matching name and namespace.
[Visual Basic] Overloads MustOverride Public Function MoveToAttribute(String, String) As Boolean
[C#] public abstract bool MoveToAttribute(String, String);
[C++] public: virtual bool MoveToAttribute(String*, String*) = 0;
[JScript] public abstract function MoveToAttribute(String, String) : Boolean;
XmlNavigator Class | XmlNavigator Members | System.NewXml Namespace