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.CopySelected

Copies all the selected nodes from the specified XmlNavigator (as returned by MoveToNextSelected) and inserts them at the specified position in this tree.

[Visual Basic]
Overrides Public Sub CopySelected( _
   ByVal p As TreePosition, _
   ByVal other As XmlNavigator _
)
[C#]
public override void CopySelected(
   TreePosition p,
   XmlNavigator other
);
[C++]
public: override void CopySelected(
   TreePosition p,
   XmlNavigator* other
);
[JScript]
public override function CopySelected(
   p : TreePosition,
   other : XmlNavigator
);

Parameters

p
The specified position where the new nodes will be copied. The position None does a Replace operation.
other
The source of the new nodes.

Exceptions

Exception Type Condition
InvalidArgument The child nodes in other specify nodes with an XmlNodeType that can not be inserted at position p.

Remarks

This XmlNavigator's position is unaffected by this operation.

See Also

DataDocumentNavigator Class | DataDocumentNavigator Members | System.NewXml Namespace