System::Xml::XmlElement::GetAttributeNode method

XmlElement::GetAttributeNode(String, String) method

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

virtual SharedPtr<XmlAttribute> System::Xml::XmlElement::GetAttributeNode(String localName, String namespaceURI)
ParameterTypeDescription
localNameStringThe local name of the attribute.
namespaceURIStringThe namespace URI of the attribute.

ReturnValue

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

See Also

XmlElement::GetAttributeNode(String) method

Returns the XmlAttribute with the specified name.

virtual SharedPtr<XmlAttribute> System::Xml::XmlElement::GetAttributeNode(String name)
ParameterTypeDescription
nameStringThe name of the attribute to retrieve. This is a qualified name. It is matched against the get_Name value of the matching node.

ReturnValue

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

See Also