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!

XmlContainer.Remove

Removes a given node from the child list of this element.

[Visual Basic]
Public Sub Remove( _
   ByVal child As XmlNode _
)
[C#]
public void Remove(
   XmlNode child
);
[C++]
public: void Remove(
   XmlNode* child
);
[JScript]
public function Remove(
   child : XmlNode
);

Parameters

child
The child node to remove.

Exceptions

Exception Type Condition
ArgumentException If child is null or if the parent of child is not this element.

Remarks

The child node is removed from the child list of this element. An exception is thrown if the parent of child is not this element. The parent of child becomes null after the operation.

See Also

XmlContainer Class | XmlContainer Members | System.Xml Namespace | Add | AddBefore | RemoveAll