Removes a node specified by local name and namespace URI.
[Visual Basic] Overloads Overridable Public Function RemoveNamedItem( _ ByVal localName As String, _ ByVal namespaceURI As String _ ) As XmlNode [C#] public virtual XmlNode RemoveNamedItem( string localName, string namespaceURI ); [C++] public: virtual XmlNode* RemoveNamedItem( String* localName, String* namespaceURI ); [JScript] public function RemoveNamedItem( localName : String, namespaceURI : String ) : XmlNode;
The XmlNode removed from this XmlNamedNodeMap. If a node with the specified name does not exist, null is returned.
Exception Type | Condition |
---|---|
NOT_FOUND_ERR | No node with the specified LocalName and NamespaceUri exists in this XmlNamedNodeMap. |
If the removed node is an XmlAttribute that contains a default value, it is immediately replaced in this XmlNamedNodeMap.
XmlNamedNodeMap Class | XmlNamedNodeMap Members | System.NewXml Namespace | XmlNamedNodeMap.RemoveNamedItem Overload List