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

Creates a new XmlNavigator positioned at the same node as this DocumentNavigator.

[Visual Basic]
Overrides Public Function Clone() As XmlNavigator
[C#]
public override XmlNavigator Clone();
[C++]
public: override XmlNavigator* Clone();
[JScript]
public override function Clone() : XmlNavigator;

Return Value

A new XmlNavigator object.

Remarks

The new XmlNavigator that is returned is not affected by subsequent changes to the current DocumentNavigator.

The Clone method does not clone all the selection and push/pop states. The cloned XmlNavigator has the same "liveness" behavior as this DocumentNavigator.

See Also

DocumentNavigator Class | DocumentNavigator Members | System.NewXml Namespace