ReadOnlyDictionary<TKey,TValue>.IDictionary<TKey,TValue>.Add メソッド

定義

常に NotSupportedException 例外をスローします。

 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

追加する要素の値として使用するオブジェクト。

実装

例外

すべての場合。

適用対象