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

Definicja

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

Dotyczy

Zobacz też