IReadOnlyCollection<T> Interface

Definition

Provides methods to count, enumerate, and query values.

Delphi
IReadOnlyCollection<T> = interface(IEnumerable<T>)

Type Parameters

T

The type of values in the collection.

Inheritance
IInterface
IReadOnlyCollection<T>
Derived

Properties

Count

Gets the number of values in the collection.

Methods

Contains(T)

Determines whether the collection contains a specific value.

GetCount

Gets the number of values in the collection.

GetEnumerator

Returns an enumerator that iterates through the sequence.

(Inherited from IEnumerable<T>)
IsEmpty

Determines whether the collection contains no values.

See also