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

Definicja

Dodaje element do elementu ICollection<T>. Ta implementacja zawsze zgłasza wyjątek 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

Obiekt, który ma zostać dodany do obiektu ICollection<T>.

Implementuje

Wyjątki

Zawsze zgłaszany; kolekcja jest tylko do odczytu.

Dotyczy

Zobacz też