Dictionary<TKey,TValue>.KeyCollection.ICollection<TKey>.Add Methode

Definition

Fügt der ICollection<T> ein Element hinzu. Diese Implementierung löst immer eine NotSupportedException aus.

 virtual void System.Collections.Generic.ICollection<TKey>.Add(TKey item) = System::Collections::Generic::ICollection<TKey>::Add;
void ICollection<TKey>.Add (TKey item);
abstract member System.Collections.Generic.ICollection<TKey>.Add : 'Key -> unit
override this.System.Collections.Generic.ICollection<TKey>.Add : 'Key -> unit
Sub Add (item As TKey) Implements ICollection(Of TKey).Add

Parameter

item
TKey

Das Objekt, das ICollection<T> hinzugefügt werden soll.

Implementiert

Ausnahmen

Wird immer ausgelöst.

Gilt für:

Weitere Informationen