共用方式為


IReadOnlyCollection<T>.Item 屬性

取得指定的索引項目。

命名空間:  Microsoft.BusinessData.Infrastructure.Collections
組件:  Microsoft.BusinessData (在 Microsoft.BusinessData.dll 中)

語法

'宣告
ReadOnly Property Item ( _
    index As Integer _
) As T
    Get
'用途
Dim instance As IReadOnlyCollection
Dim index As Integer
Dim value As T

value = instance.Item(index)
T this[
    int index
] { get; }

參數

屬性值

類型:T

請參閱

參照

IReadOnlyCollection<T> 介面

IReadOnlyCollection<T> 成員

Microsoft.BusinessData.Infrastructure.Collections 命名空間