Share via


XPathNodeIterator.GetEnumerator Method

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

Returns an IEnumerator object to iterate through the selected node set.

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

Syntax

'Declaration
Public Overridable Function GetEnumerator As IEnumerator
public virtual IEnumerator GetEnumerator()

Return Value

Type: System.Collections.IEnumerator
An IEnumerator object to iterate through the selected node set.

Implements

IEnumerable.GetEnumerator()

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.