SortedDictionary<TKey,TValue>.KeyCollection.ICollection<TKey>.Add Método
Definição
Importante
Algumas informações dizem respeito a um produto pré-lançado que pode ser substancialmente modificado antes de ser lançado. A Microsoft não faz garantias, de forma expressa ou implícita, em relação à informação aqui apresentada.
Adiciona um item ao ICollection<T>. Esta implementação lança sempre 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 adicionar ao ICollection<T>.
Implementações
Exceções
Sempre lançado; A coleção é só de leitura.