IEnumerable Interface
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Exposes the enumerator, which supports a simple iteration over a non-generic collection.
Assembly: mscorlib (in mscorlib.dll)
The IEnumerable type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | AsQueryable | Converts an IEnumerable to an IQueryable. (Defined by Queryable.) |
![]() | Cast<TResult> | Converts the elements of an IEnumerable to the specified type. (Defined by Enumerable.) |
![]() | OfType<TResult> | Filters the elements of an IEnumerable based on a specified type. (Defined by Enumerable.) |
For the generic version of this interface see System.Collections.Generic::IEnumerable<T>.
Notes to ImplementersIEnumerable must be implemented to support the foreach semantics of Microsoft Visual Basic. COM classes that allow enumerators also implement this interface.

