Interfaz IReadOnlyList<T>
Defines properties and methods for the generic immutable list of objects that can be accessed by index.
Espacio de nombres: Microsoft.SqlServer.Management.Sdk.Sfc
Ensamblado: Microsoft.SqlServer.Management.Sdk.Sfc (en Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Sintaxis
'Declaración
Public Interface IReadOnlyList(Of T) _
Inherits IReadOnlyCollection(Of T), IReadOnlyCollection, IEnumerable(Of T), _
IEnumerable
'Uso
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 no admite tipos y métodos genéricos.
Parámetros de tipo
- T
The type of the elements in the list.
El tipo IReadOnlyList<T> expone los siguientes miembros.
Propiedades
Nombre | Descripción | |
---|---|---|
Count | Gets the number of items that are contained in the collection. (Se hereda de IReadOnlyCollection.) | |
Item | Gets the element at the specified index. |
Arriba
Métodos
Nombre | Descripción | |
---|---|---|
Contains | Determines whether the specified item is contained in the collection. (Se hereda de IReadOnlyCollection<T>.) | |
CopyTo | Copies the elements of the collection to the specified array, starting at a particular array index. (Se hereda de IReadOnlyCollection<T>.) | |
GetEnumerator | (Se hereda de IEnumerable<T>.) |
Arriba