Moves the position of the current instance to the attribute with the specified local name and namespace URI.
- localName
- A string specifying the local name of the attribute.
- namespaceName
- Documentation for this section has not yet been entered.
A bool where true indicates the attribute was found. If localname is null, or the attribute was not found, false is returned and the position of the reader does not change.
If namespaceURI is null, the local namespace is searched for localName.
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