ConcurrentDictionary<TKey,TValue>.IDictionary.Item[Object] 속성
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
지정된 키에 연결된 값을 가져오거나 설정합니다.
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
입니다.
구현
예외
key
은 null
입니다.
값이 할당되어 있고, key
가 키 형식에 할당할 수 없는 형식이거나 ConcurrentDictionary<TKey,TValue>의 값 형식인 경우