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 命名空间