XPathNodeIterator.Current Property

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

When overridden in a derived class, returns the XPathNavigator object for this XPathNodeIterator, positioned on the current context node.

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

Syntax

'Declaration
Public MustOverride ReadOnly Property Current As XPathNavigator
public abstract XPathNavigator Current { get; }

Property Value

Type: System.Xml.XPath.XPathNavigator
An XPathNavigator object positioned on the context node from which the node set was selected. The MoveNext method must be called to move the XPathNodeIterator to the first node in the selected set.

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.