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

Definitie

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

Parameters

item
TKey

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