IEnumerable Interface

Definition

Delphi
type IEnumerable = IEnumerable
Inheritance
IInvokable
IEnumerable

Properties

Count

Returns the number of elements in a sequence.

ElementType

Returns the type of the elements in the sequence.

IsEmpty

Determines whether the sequence contains no elements.

Methods

AsObject

Returns the reference to this instance.

GetCount
GetElementType
GetEnumerator

Returns an enumerator that iterates through a collection.

GetIsEmpty
GetNonEnumeratedCount

Attempts to retrieve the count without calling the enumerator; returns -1 otherwise.