System.Xml [00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00] 1.0.5000.0 2.0.0.0 4.0.0.0 All dynamic members are not designed to be thread safe. System.Object System.Collections.IEnumerable System.ICloneable An object returned by the class is not positioned on the first node in a selected set of nodes. A call to the method of the class must be made to position the object on the first node in the selected set of nodes. When using the , if you edit the current node or any of its ancestors, your current position is lost. If you want to edit a number of nodes that you have selected, create a array, copy all of the nodes from the into the array, then iterate through the array and modify the nodes. There are two ways to iterate over an collection by using the class. One way is to use the method and then call to get the current instance, as in the following example: code reference: XPathNavigatorMethods#55 Another way is to use a foreach loop to call the method and use the returned interface to enumerate the nodes, as in the following example: code reference: XPathNavigatorMethods#56 You should either use and or use . Combining these two approaches can cause unexpected results. For example, if the method is called first, and then the method is called in the foreach loop, the foreach loop will not start enumerating the results from the beginning of the collection, but from the position after the method. Provides an iterator over a selected set of nodes. Constructor 1.0.5000.0 2.0.0.0 4.0.0.0 This constructor is called by derived class constructors to initialize state in this type. Initializes a new instance of the class. Method 1.0.5000.0 2.0.0.0 4.0.0.0 System.Xml.XPath.XPathNodeIterator The cloned object is positioned at the same node in the node set if calls have been made to the method. The cloned object is not affected by subsequent changes to this object. When overridden in a derived class, returns a clone of this object. A new object clone of this object. Property 1.0.5000.0 2.0.0.0 4.0.0.0 System.Int32 An integer value that represents the total count of the nodes. The property does not affect the position of the . Gets the index of the last node in the selected set of nodes. Property 1.0.5000.0 2.0.0.0 4.0.0.0 System.Xml.XPath.XPathNavigator An instance that represents the current node. You can use the properties of the returned object to obtain information on the current node. However, the returned object should not be modified. The returned object cannot be moved away from the selected node set. Alternatively, you can clone the object using the method of the class. The cloned object can then be moved away from the selected node set. This method of cloning the object might affect the performance of the XPath query. If the , , and methods result in no nodes being selected, the property might not be pointing to the context node. To test whether nodes have been selected, use the property as shown in the following example. When overridden in a derived class, gets the object for this , positioned on the current context node. Property 1.0.5000.0 2.0.0.0 4.0.0.0 System.Int32 an integer value that represents the position. The index is 1-based. Therefore, the first node has an index of 1. An index of 0 indicates there are no selected nodes. This property always returns a positive integer. When overridden in a derived class, gets the index of the current position in the selected set of nodes. Method 2.0.0.0 4.0.0.0 System.Collections.IEnumerator The enumerator is positioned on the current position of the object. There are two ways to iterate over an collection by using the class. One way is to use the method and then call to get the current instance, as in the following example: code reference: XPathNavigatorMethods#55 Another way is to use a foreach loop to call the method and use the returned interface to enumerate the nodes, as in the following example: code reference: XPathNavigatorMethods#56 You should either use the method and or use the method. Combining these two approaches can cause unexpected results. For example, if the method is called first, and then the method is called in the foreach loop, the foreach loop will not start enumerating the results from the beginning of the collection, but from the position after the method. Returns an object to iterate through the selected node set. An object to iterate through the selected node set. Method 1.0.5000.0 2.0.0.0 4.0.0.0 System.Boolean The object is positioned on the first node in the selected node set only after the initial call to the method. The node set is created in document order. Therefore, calling the method moves to the next node in document order. There are two ways to iterate over an collection by using the class. One way is to use the method and then call to get the current instance, as in the following example: code reference: XPathNavigatorMethods#55 Another way is to use a foreach loop to call the method and use the returned interface to enumerate the nodes, as in the following example: code reference: XPathNavigatorMethods#56 You should either use the method and or use the method. Combining these two approaches can cause unexpected results. For example, if the method is called first, and then the method is called in the foreach loop, the foreach loop will not start enumerating the results from the beginning of the collection, but from the position after the method. When overridden in a derived class, moves the object returned by the property to the next node in the selected node set. true if the object moved to the next node; false if there are no more selected nodes. Method 1.0.5000.0 2.0.0.0 4.0.0.0 System.Object This member is an explicit interface member implementation. It can be used only when the instance is cast to an interface. Creates a new object that is a copy of the current instance. A new object that is a copy of this instance.