SortedDictionary<TKey,TValue>.KeyCollection.ICollection<TKey>.Add Método

Definição

Adiciona um item ao ICollection<T>. Essa implementação sempre gera um 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

Parâmetros

item
TKey

O objeto a ser adicionado ao ICollection<T>.

Implementações

Exceções

Sempre gerada; a coleção é somente leitura.

Aplica-se a

Confira também