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!

XmlNavigator.MoveSelected

Moves all the selected nodes from the specified XmlNavigator (as returned by MoveToNextSelected) and inserts them at the specified position in this XmlNavigato. This navagitor's position is unaffected by this operation.

[Visual Basic]
MustOverride Public Sub MoveSelected( _
   ByVal p As TreePosition, _
   ByVal other As XmlNavigator _
)
[C#]
public abstract void MoveSelected(
   TreePosition p,
   XmlNavigator other
);
[C++]
public: virtual void MoveSelected(
   TreePosition p,
   XmlNavigator* other
) = 0;
[JScript]
public abstract function MoveSelected(
   p : TreePosition,
   other : XmlNavigator
);

Parameters

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

Exceptions

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.

Remarks

This XmlNavigator's position is unaffected by this operation.

See Also

XmlNavigator Class | XmlNavigator Members | System.NewXml Namespace