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!

XmlNavigator.Remove (TreePosition)

Removes the specified node (and its entire subtree) by relative position to the current node.

[Visual Basic]
Overloads MustOverride Public Sub Remove( _
   ByVal p As TreePosition _
)
[C#]
public abstract void Remove(
   TreePosition p
);
[C++]
public: virtual void Remove(
   TreePosition p
) = 0;
[JScript]
public abstract function Remove(
   p : TreePosition
);

Parameters

p
Treeposition indicating the node to remove.

Remarks

After this method is called, the parent of the specified node is set to null. This XmlNavigator then stays pointing at this current node.

The position of "None" makes this method behave the same as Remove() with no arguments.

See Also

XmlNavigator Class | XmlNavigator Members | System.NewXml Namespace | XmlNavigator.Remove Overload List