Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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:
© 2017 Microsoft