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

取得または設定する値のキー。

プロパティ値

指定したキーに関連付けられている値。または、nullがディクショナリに含まれていないか、keykeyのキー型に割り当てられない型の場合にConcurrentDictionary<TKey,TValue>

実装

例外

keynullです。

値が割り当てられ、 key は、 ConcurrentDictionary<TKey,TValue>のキー型または値型に割り当てられない型です。

適用対象

こちらもご覧ください