語言

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

定義

取得或設定唯讀清單中指定索引處的專案。

property T System::Collections::Generic::IList<T>::Item[int] { T get(int index); void set(int index, T value); };
T System.Collections.Generic.IList<T>.Item[int index] { get; set; }
member this.System.Collections.Generic.IList<T>.Item(int) : 'T with get, set
 Property Item(index As Integer) As T Implements IList(Of T).Item

參數

index
Int32

元素的零基指數 得 。

屬性值

T

在唯讀列表中指定索引的元素。

實作

例外狀況

總是被二傳傳球。

該 IsDefault 性質返回 true。

適用於