Share via


IReadOnlyList<T> Interface

Definition

Represents a strongly typed list of objects that can be accessed by index.

public interface IReadOnlyList<T> : Microsoft.SqlServer.Management.Sdk.Sfc.IReadOnlyCollection<T>, System.Collections.Generic.IEnumerable<T>
type IReadOnlyList<'T> = interface
    interface IReadOnlyCollection<'T>
    interface IReadOnlyCollection
    interface IEnumerable
    interface seq<'T>
Public Interface IReadOnlyList(Of T)
Implements IEnumerable(Of T), IReadOnlyCollection(Of T)

Type Parameters

T

The type of elements in the list.

Derived
Implements

Properties

Count

Gets the number of items contained in the IReadOnlyCollection.

(Inherited from IReadOnlyCollection)
Item[Int32]

Gets the element at the specified index.

Methods

Contains(T)

Determines whether the collection contains a specific value.

(Inherited from IReadOnlyCollection<T>)
CopyTo(T[], Int32)

Copies the elements of the collection to an array, starting at a particular array index.

(Inherited from IReadOnlyCollection<T>)

Applies to