共用方式為


FrozenDictionary<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; }
member this.System.Collections.IDictionary.Item(obj) : obj with get, set
 Property Item(key As Object) As Object Implements IDictionary.Item

參數

key
Object

要取得或設定之項目的索引鍵。

屬性值

具有指定索引鍵的項目;如果索引鍵不存在,則為 null

實作

適用於