System::Xml::XmlNamedNodeMap::GetNamedItem method

XmlNamedNodeMap::GetNamedItem(String, String) method

Retrieves a node with the matching XmlNode::get_LocalName and XmlNode::get_NamespaceURI values.

virtual SharedPtr<XmlNode> System::Xml::XmlNamedNodeMap::GetNamedItem(String localName, String namespaceURI)
ParameterTypeDescription
localNameStringThe local name of the node to retrieve.
namespaceURIStringThe namespace Uniform Resource Identifier (URI) of the node to retrieve.

ReturnValue

An XmlNode with the matching local name and namespace URI or nullptr if a matching node was not found.

See Also

XmlNamedNodeMap::GetNamedItem(String) method

Retrieves an XmlNode specified by name.

virtual SharedPtr<XmlNode> System::Xml::XmlNamedNodeMap::GetNamedItem(String name)
ParameterTypeDescription
nameStringThe qualified name of the node to retrieve. It is matched against the XmlNode::get_Name value of the matching node.

ReturnValue

An XmlNode with the specified name or nullptr if a matching node is not found.

See Also