XmlReader.GetAttribute Method (String, String)
Gets the value of the attribute with the specified LocalName and NamespaceURI.
Namespace: System.Xml
Assembly: System.Xml (in system.xml.dll)
Syntax
public virtual abstract string GetAttribute (
stringname,
stringnamespaceURI
)
Parameters
- name
The local name of the attribute. - namespaceURI
The namespace URI of the attribute.
Return Value
The value of the specified attribute. If the attribute is not found, a null reference is returned. This method does not move the reader.
Version Information
Available in the .NET Micro Framework versions 2.5, 3.0, 4.0, and 4.1.