ReadOnlyDictionary<TKey,TValue>.IDictionary<TKey,TValue>.Add 메서드

정의

모든 경우에 NotSupportedException 예외를 throw합니다.

 virtual void System.Collections.Generic.IDictionary<TKey,TValue>.Add(TKey key, TValue value) = System::Collections::Generic::IDictionary<TKey, TValue>::Add;
void IDictionary<TKey,TValue>.Add (TKey key, TValue value);
abstract member System.Collections.Generic.IDictionary<TKey,TValue>.Add : 'Key * 'Value -> unit
override this.System.Collections.Generic.IDictionary<TKey,TValue>.Add : 'Key * 'Value -> unit
Sub Add (key As TKey, value As TValue) Implements IDictionary(Of TKey, TValue).Add

매개 변수

key
TKey

추가할 요소의 키로 사용할 개체입니다.

value
TValue

추가할 요소의 값으로 사용할 개체입니다.

구현

예외

모든 경우

적용 대상