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 Overridable Function GetNamedItem (
	localName As String,
	namespaceURI As String
) As XmlNode


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

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