共用方式為


OrderedDictionary<TKey,TValue>.KeyCollection.IList<TKey>.Item[Int32] 屬性

定義

取得或設定位於指定索引處的專案。

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

參數

index
Int32

要取得或設定之專案之以零起始的索引。

屬性值

TKey

位於指定索引處的專案。

實作

適用於