ReadOnlyDictionary<TKey,TValue>.IDictionary<TKey,TValue>.Item[TKey] 속성

정의

지정된 키를 가진 요소를 가져옵니다.

property TValue System::Collections::Generic::IDictionary<TKey,TValue>::Item[TKey] { TValue get(TKey key); void set(TKey key, TValue value); };
TValue System.Collections.Generic.IDictionary<TKey,TValue>.Item[TKey key] { get; set; }
member this.System.Collections.Generic.IDictionary<TKey,TValue>.Item('Key) : 'Value with get, set
 Property Item(key As TKey) As TValue Implements IDictionary(Of TKey, TValue).Item

매개 변수

key
TKey

가져오거나 설정할 요소의 키입니다.

속성 값

TValue

지정된 키를 가진 요소입니다.

구현

예외

key이(가) null인 경우

속성이 검색되었지만 key가 없는 경우

속성이 설정되었습니다.

적용 대상