System.Xml.XPath.XPathNodeIterator.Count Property

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

Syntax

public virtual int Count { get; }

Value

An integer value that represents the total count of the nodes.

Remarks

The XPathNodeIterator.Count property does not affect the position of the System.Xml.XPath.XPathNodeIterator.

Requirements

Namespace: System.Xml.XPath
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0