[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Exposes the enumerator, which supports a simple iteration over a collection of a specified type.
Public Interface IEnumerable(Of Out T) _ Inherits IEnumerable
Dim instance As IEnumerable(Of Out T)
public interface IEnumerable<out T> : IEnumerable
generic<typename T> public interface class IEnumerable : IEnumerable
type IEnumerable<'T> = interface interface IEnumerable end
The type of objects to enumerate.
This type parameter is covariant. That is, you can use either the type you specified or any type that is more derived. For more information about covariance and contravariance, see Covariance and Contravariance in Generics.
IEnumerable<(Of <(T>)>) is included for parity with non-generic collections; implementing IEnumerable<(Of <(T>)>) allows a generic collection to be passed to a method that expects an IEnumerable object.
Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98, Windows CE, Windows Mobile for Smartphone, Windows Mobile for Pocket PC, Xbox 360, Zune