ImmutableDictionary<TKey,TValue>.Builder.Item[TKey] 속성

정의

지정한 키를 가진 요소를 가져오거나 설정합니다.

public:
 property TValue default[TKey] { TValue get(TKey key); void set(TKey key, TValue value); };
public TValue this[TKey key] { get; set; }
member this.Item('Key) : 'Value with get, set
Default Public Property Item(key As TKey) As TValue

매개 변수

key
TKey

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

속성 값

TValue

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

구현

예외

key이(가) null인 경우

속성을 검색중이며 key가 없습니다.

속성을 설정중이며 IDictionary<TKey,TValue>가 읽기 전용입니다.

적용 대상