NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

XmlNamedNodeMap.RemoveNamedItem (String, String)

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;

Parameters

localName
Local name of the node to remove.
namespaceURI
[To be supplied.]

Return Value

The XmlNode removed from this XmlNamedNodeMap. If a node with the specified name does not exist, null is returned.

Exceptions

Exception Type Condition
NOT_FOUND_ERR No node with the specified LocalName and NamespaceUri exists in this XmlNamedNodeMap.

Remarks

If the removed node is an XmlAttribute that contains a default value, it is immediately replaced in this XmlNamedNodeMap.

See Also

XmlNamedNodeMap Class | XmlNamedNodeMap Members | System.NewXml Namespace | XmlNamedNodeMap.RemoveNamedItem Overload List