Interfaccia IReadOnlyList<T>

Defines properties and methods for the generic immutable list of objects that can be accessed by index.

Spazio dei nomi  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Sintassi

'Dichiarazione
Public Interface IReadOnlyList(Of T) _
    Inherits IReadOnlyCollection(Of T), IReadOnlyCollection, IEnumerable(Of T),  _
    IEnumerable
'Utilizzo
Dim instance As IReadOnlyList(Of T)
public interface IReadOnlyList<T> : IReadOnlyCollection<T>, 
    IReadOnlyCollection, IEnumerable<T>, IEnumerable
generic<typename T>
public interface class IReadOnlyList : IReadOnlyCollection<T>, 
    IReadOnlyCollection, IEnumerable<T>, IEnumerable
type IReadOnlyList<'T> =  
    interface 
        interface IReadOnlyCollection<'T>
        interface IReadOnlyCollection 
        interface IEnumerable<'T>
        interface IEnumerable 
    end
JScript non supporta i metodi e i tipi generici.

Parametri di tipo

  • T
    The type of the elements in the list.

Nel tipo IReadOnlyList<T> sono esposti i membri seguenti.

Proprietà

  Nome Descrizione
Proprietà pubblica Count Gets the number of items that are contained in the collection. Ereditato da IReadOnlyCollection.
Proprietà pubblica Item Gets the element at the specified index.

In alto

Metodi

  Nome Descrizione
Metodo pubblico Contains Determines whether the specified item is contained in the collection. Ereditato da IReadOnlyCollection<T>.
Metodo pubblico CopyTo Copies the elements of the collection to the specified array, starting at a particular array index. Ereditato da IReadOnlyCollection<T>.
Metodo pubblico GetEnumerator Ereditato da IEnumerable<T>.

In alto

Vedere anche

Riferimento

Spazio dei nomi Microsoft.SqlServer.Management.Sdk.Sfc