Compartir a través de


IEnumerable.GetEnumerator Method

Returns an IEnumerator object (enumerator) that can iterate through a collection.

Namespace: System.Collections
Assembly: mscorlib (in mscorlib.dll)

Syntax

public IEnumerator GetEnumerator ()

Return Value

An enumerator that can iterate through a collection.

Version Information

Available in the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, 4.1, and 4.2.

See Also

Reference

IEnumerable Interface
IEnumerable Members
System.Collections Namespace