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 이 사전에 key 없거나 의 키 형식ConcurrentDictionary<TKey,TValue>에 할당할 수 없는 형식인 경우 key 입니다.

구현

예외

keynull입니다.

값이 할당되어 있고, key가 키 형식에 할당할 수 없는 형식이거나 ConcurrentDictionary<TKey,TValue>의 값 형식인 경우

적용 대상

추가 정보