Moves the position of the current instance to the attribute with the specified qualified name.
- name
- A string specifying the qualified name of the attribute.
A bool where true indicates the attribute was found. If name is null, or the attribute was not found, false is returned and the position of the reader does not change.
After calling this method, the XmlTextReader.Name, XmlTextReader.NamespaceURI, and XmlTextReader.Prefix properties reflect the properties of the new attribute.
Note:This method overrides XmlReader.MoveToAttribute(string).
Namespace: System.Xml
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0