Bewerken

Delen via


XPathNodeIterator.Count Property

Definition

Gets the index of the last node in the selected set of nodes.

public:
 virtual property int Count { int get(); };
public virtual int Count { get; }
member this.Count : int
Public Overridable ReadOnly Property Count As Integer

Property Value

The index of the last node in the selected set of nodes, or 0 if there are no selected nodes.

Remarks

The Count property does not affect the position of the XPathNodeIterator.

Applies to