Click or drag to resize
XmlReaderGetAttribute Method (String, String)
When overridden in a derived class, gets the value of the attribute with the specified LocalName and NamespaceURI.

Namespace: System.Xml
Assembly: CSharpXamlForHtml5.System.Xml.dll (in CSharpXamlForHtml5.System.Xml.dll.dll) Version: 1.0.0.0
Syntax
C#
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: String
The 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
ExceptionCondition
ArgumentNullExceptionname is null.
See Also