XmlNamedNodeMap::GetNamedItem Method (String^, String^)

 

Retrieves a node with the matching LocalName and NamespaceURI.

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

public:
virtual XmlNode^ GetNamedItem(
	String^ localName,
	String^ namespaceURI
)

Parameters

localName
Type: System::String^

The local name of the node to retrieve.

namespaceURI
Type: System::String^

The namespace Uniform Resource Identifier (URI) of the node to retrieve.

Return Value

Type: System.Xml::XmlNode^

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

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