XmlElement.GetAttributeNode Method (String, String)

 

Returns the XmlAttribute with the specified local name and namespace URI.

Namespace:   System.Xml
Assembly:  System.Xml (in System.Xml.dll)

public virtual XmlAttribute GetAttributeNode(
	string localName,
	string namespaceURI
)

Parameters

localName
Type: System.String

The local name of the attribute.

namespaceURI
Type: System.String

The namespace URI of the attribute.

Return Value

Type: System.Xml.XmlAttribute

The specified XmlAttribute or null if a matching attribute was not found.

Universal Windows Platform
Available since 10
.NET Framework
Available since 1.1
Return to top
Show: