語言

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。

適用於