Método System::Collections::Generic::BaseSet::TryAdd

BaseSet::TryAdd method

Agrega un elemento al conjunto.

bool System::Collections::Generic::BaseSet<T, SET_T>::TryAdd(const T &item)
ParámetroTipoDescripción
itemconst T&Elemento a añadir.

ReturnValue

True si el elemento fue añadido, false si ya existe.

Ver también