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

Definition

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

 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 dem ICollection<T>Objekt hinzugefügt werden soll.

Implementiert

Ausnahmen

Immer ausgelöst.

Gilt für:

Weitere Informationen