XmlReaderGetAttribute Method (String, String) |
When overridden in a derived class, gets the value of the attribute with the specified
LocalName and
NamespaceURI.
Namespace: System.XmlAssembly: CSharpXamlForHtml5.System.Xml.dll (in CSharpXamlForHtml5.System.Xml.dll.dll) Version: 1.0.0.0
Syntax public abstract string GetAttribute(
string name,
string namespaceURI
)
Parameters
- name
- Type: SystemString
The local name of the attribute. - namespaceURI
- Type: SystemString
The namespace URI of the attribute.
Return Value
Type:
StringThe value of the specified attribute. If the attribute is not found or the value is String.Empty, null is returned. This method does not move the reader.
Exceptions See Also