Method GetAttributeNode
- Namespace
- SharpVectors.Dom
- Assembly
- SharpVectors.Core.dll
GetAttributeNode(string)
Returns the XmlAttribute with the specified name.
XmlAttribute GetAttributeNode(string name)
Parameters
name
stringThe name of the attribute to retrieve. This is a qualified name. It is matched against the Name property of the matching node.
Returns
- XmlAttribute
The specified XmlAttribute or null if a matching attribute was not found.
GetAttributeNode(string, string)
Returns the XmlAttribute with the specified local name and namespace URI.
XmlAttribute GetAttributeNode(string localName, string namespaceURI)
Parameters
localName
stringThe local name of the attribute.
namespaceURI
stringThe namespace URI of the attribute.
Returns
- XmlAttribute
The specified XmlAttribute or null if a matching attribute was not found.