Поделиться через


Свойство IReadOnlyList<T>.Item

Gets the element at the specified index.

Пространство имен:  Microsoft.SqlServer.Management.Sdk.Sfc
Сборка:  Microsoft.SqlServer.Management.Sdk.Sfc (в Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Синтаксис

'Декларация
ReadOnly Default Property Item ( _
    index As Integer _
) As T
    Get
'Применение
Dim instance As IReadOnlyList 
Dim index As Integer 
Dim value As T

value = instance(index)
T this[
    int index
] { get; }
property T default[int index] {
    T get (int index);
}
abstract Item : 'T
JScript поддерживает использование индексированных свойств, но не объявление новых.

Параметры

  • index
    Тип: System.Int32
    The zero-based index of the element to get.

Значение свойства

Тип: T
The element at the specified index.

См. также

Справочник

IReadOnlyList<T> Интерфейс

Пространство имен Microsoft.SqlServer.Management.Sdk.Sfc