OrderedDictionary<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

实现

适用于