Mono Class Library: System.Xml.XmlTextReader Overview | MembersSystem.Xml.XmlTextReader.GetAttribute Method |
Returns the value of the attribute with the specified qualified name. [Edit]
|
A string containing the value of the specified attribute, or null if the attribute is not found. If name is null, null is returned. [Edit]
This method does not move the reader.
Note:[Edit]If the reader is positioned on a DocumentType node, this method can be used to get the PUBLIC and SYSTEM literals.
This method overrides XmlReader.GetAttribute(string).
See the XmlTextReader.GetAttribute(int)(String, String) method for an example using all three overloads of this method.
Namespace: System.Xml
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0