XmlNamedNodeMap.RemoveNamedItem Method (String, String)

 

Removes a node with the matching LocalName and NamespaceURI.

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

public virtual XmlNode RemoveNamedItem(
	string localName,
	string namespaceURI
)

Parameters

localName
Type: System.String

The local name of the node to remove.

namespaceURI
Type: System.String

The namespace URI of the node to remove.

Return Value

Type: System.Xml.XmlNode

The XmlNode removed 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: