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!

DocumentNavigator.CopyChildren

Copies all the children from current position of the specified XmlNavigator and inserts them at the specified position in this XmlNavigator.

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

Parameters

p
The specified position where the new nodes 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

DocumentNavigator Class | DocumentNavigator Members | System.NewXml Namespace