Moves the entire subtree point to in the specified XmlNavigator to the specified position in this XmlNavigator.
[Visual Basic] Overrides Public Sub Move( _ ByVal p As TreePosition, _ ByVal other As XmlNavigator _ ) [C#] public override void Move( TreePosition p, XmlNavigator other ); [C++] public: override void Move( TreePosition p, XmlNavigator* other ); [JScript] public override function Move( 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.
The other XmlNavigator remains pointing at the same node. This means it is essentially moved over to this tree in the process.
DocumentNavigator Class | DocumentNavigator Members | System.NewXml Namespace