XmlNamedNodeMap.GetNamedItem Method (String, String)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: