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

键。

属性值

存储在指定键下的值。

实现

适用于