共用方式為


ImmutableDictionary<TKey,TValue>.IDictionary.Item[Object] 屬性

定義

取得或設定具有指定索引鍵的項目。

property System::Object ^ System::Collections::IDictionary::Item[System::Object ^] { System::Object ^ get(System::Object ^ key); void set(System::Object ^ key, System::Object ^ value); };
object System.Collections.IDictionary.Item[object key] { get; set; }
object? System.Collections.IDictionary.Item[object key] { get; set; }
member this.System.Collections.IDictionary.Item(obj) : obj with get, set
 Property Item(key As Object) As Object Implements IDictionary.Item

參數

key
Object

索引鍵。

屬性值

儲存在指定索引鍵底下的值。

實作

適用於