System.Xml.XmlNodeList.GetEnumerator Method

Gets an enumerator that iterates through the collection of nodes.

Syntax

public abstract IEnumerator GetEnumerator ()

Returns

An enumerator used to iterate through the collection of nodes.

Remarks

Provides a simple "foreach" style iteration over the collection of nodes in the XmlNodeList.

Requirements

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