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)

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 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
Show:
© 2015 Microsoft