FrozenSet<T>.ISet<T>.Add(T) Método

Definición

Agrega un elemento al conjunto actual y devuelve un valor que indica si el elemento se ha agregado correctamente.

 virtual bool System.Collections.Generic.ISet<T>.Add(T item) = System::Collections::Generic::ISet<T>::Add;
bool ISet<T>.Add (T item);
abstract member System.Collections.Generic.ISet<T>.Add : 'T -> bool
override this.System.Collections.Generic.ISet<T>.Add : 'T -> bool
Function Add (item As T) As Boolean Implements ISet(Of T).Add

Parámetros

item
T

Elemento que se va a agregar al conjunto.

Devoluciones

false si el elemento se ha agregado al conjunto; true si el elemento ya está en el conjunto.

Implementaciones

Se aplica a