XPathNodeIterator::Count Property

 

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

Namespace:   System.Xml.XPath
Assembly:  System.Xml (in System.Xml.dll)

public:
property int Count {
	virtual int get();
}

Property Value

Type: System::Int32

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

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

.NET Framework
Available since 1.1
Silverlight
Available since 4.0
Return to top
Show: