ImmutableArray<T>.IReadOnlyList<T>.Item[Int32] 屬性

定義

取得位在指定索引處的元素。

property T System::Collections::Generic::IReadOnlyList<T>::Item[int] { T get(int index); };
T System.Collections.Generic.IReadOnlyList<T>.Item[int index] { get; }
member this.System.Collections.Generic.IReadOnlyList<T>.Item(int) : 'T
 ReadOnly Property Item(index As Integer) As T Implements IReadOnlyList(Of T).Item

參數

index
Int32

索引。

屬性值

T

元素。

實作

例外狀況

IsDefault 屬性會傳回 true

適用於