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

Definicja

Dodaje element do elementu ICollection<T>. Ta implementacja zawsze zgłasza błąd NotSupportedException.

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

Parametry

item
TValue

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

Implementuje

Wyjątki

Zawsze zgłaszane; kolekcja jest tylko do odczytu.

Dotyczy

Zobacz też