Export (0) Print
Expand All

XmlNamedNodeMap::GetNamedItem Method (String, String)

Retrieves a node with the matching LocalName and NamespaceURI.

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

virtual XmlNode^ GetNamedItem(
	String^ localName, 
	String^ namespaceURI


Type: System::String

The local name of the node to retrieve.

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 nullptr if a matching node was not found.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

XNA Framework

Supported in: 3.0, 2.0, 1.0
© 2015 Microsoft