ReadOnlyList<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 中)
语法
声明
Public ReadOnly Default Property Item ( _
index As Integer _
) As T
Get
用法
Dim instance As ReadOnlyList
Dim index As Integer
Dim value As T
value = instance(index)
public T this[
int index
] { get; }
public:
virtual property T default[int index] {
T get (int index) sealed;
}
abstract Item : 'T
override Item : 'T
JScript 支持使用索引属性,但不支持声明新索引属性。
参数
- index
类型:System.Int32
The zero-based index of the element to get.
属性值
类型:T
The element at the specified index.