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

Definitie

Voegt een item toe aan de ICollection<T>. Deze implementatie gooit altijd een 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

Parameters

item
TValue

Het object dat moet worden toegevoegd aan de ICollection<T>.

Implementeringen

Uitzonderingen

Altijd gegooid; de verzameling heeft het kenmerk Alleen-lezen.

Van toepassing op

Zie ook