ImmutableHashSet<T>.ICollection<T>.Add(T) Método

Definição

Adiciona um item ao conjunto.Adds an item to the set.

 virtual void System.Collections.Generic.ICollection<T>.Add(T item) = System::Collections::Generic::ICollection<T>::Add;
void ICollection<T>.Add (T item);
abstract member System.Collections.Generic.ICollection<T>.Add : 'T -> unit
override this.System.Collections.Generic.ICollection<T>.Add : 'T -> unit
Sub Add (item As T) Implements ICollection(Of T).Add

Parâmetros

item
T

O objeto a ser adicionado ao conjunto.The object to add to the set.

Implementações

Exceções

O conjunto é somente leitura.The set is read-only.

Comentários

Este membro é uma implementação do membro de interface explícita.This member is an explicit interface member implementation. Ele só pode ser usado quando a instância de ImmutableHashSet<T> é convertida em uma interface de ICollection<T>.It can be used only when the ImmutableHashSet<T> instance is cast to an ICollection<T> interface.

Aplica-se a