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

가져오기 또는 설정할 요소의 키입니다.

속성 값

지정된 키가 있는 요소입니다.

구현

예외

keynull입니다.

속성이 설정되었습니다.

-또는-

속성이 설정되고 컬렉션 key 에 존재하지 않으며 사전의 크기가 고정되어 있습니다.

설명

이 멤버는 명시적 인터페이스 멤버 구현입니다. 인스턴스가 인터페이스로 ReadOnlyDictionary<TKey,TValue> 캐스팅 IDictionary 되는 경우에만 사용할 수 있습니다.

적용 대상