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!

DataDocumentNavigator.Remove (TreePosition)

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

[Visual Basic]
Overloads Overrides Public Sub Remove( _
   ByVal p As TreePosition _
)
[C#]
public override void Remove(
   TreePosition p
);
[C++]
public: override void Remove(
   TreePosition p
);
[JScript]
public override 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

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