Freigeben über


XPathNodeIterator.Count Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

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

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

Syntax

'Declaration
Public Overridable ReadOnly Property Count As Integer
public virtual int Count { get; }

Property Value

Type: System.Int32
The int index of the last node in the selected set of nodes, or 0 if there are no selected nodes.

Version Information

Silverlight

Supported in: 5, 4

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.