Moves all the children from current position of the specified XmlNavigator and inserts them at the specified position in this XmlNavigator.
[Visual Basic] MustOverride Public Sub MoveChildren( _ ByVal p As TreePosition, _ ByVal other As XmlNavigator _ ) [C#] public abstract void MoveChildren( TreePosition p, XmlNavigator other ); [C++] public: virtual void MoveChildren( TreePosition p, XmlNavigator* other ) = 0; [JScript] public abstract function MoveChildren( p : TreePosition, other : XmlNavigator );
Exception Type | Condition |
---|---|
ArgumentException | The other XmlNavigator is pointing at read/only nodes (like the children of an entity reference). It can point to an entity reference and thereby move the entire entity reference- but it cannot point at the children of an entity reference. |
This XmlNavigator's position is unaffected by this operation.
XmlNavigator Class | XmlNavigator Members | System.NewXml Namespace