SortedDictionary<TKey,TValue>.KeyCollection.ICollection<TKey>.Add Metoda

Definice

Přidá položku do objektu ICollection<T>. Tato implementace vždy vyvolá 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

Parametry

item
TKey

Objekt, který se má přidat do objektu ICollection<T>.

Implementuje

Výjimky

Vždy hozen; kolekce je jen pro čtení.

Platí pro

Viz také