Dictionary<TKey,TValue>.ValueCollection.ICollection<TValue>.Add Metod

Definition

Lägger till ett objekt i ICollection<T>. Den här implementeringen genererar NotSupportedExceptionalltid .

 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

Parametrar

item
TValue

Objektet som ska läggas till i ICollection<T>.

Implementeringar

Undantag

Alltid kastad.

Gäller för

Se även