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

BaseSet::TryAdd method

Agrega un elemento al conjunto.

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

ReturnValue

Verdadero si el elemento fue añadido, falso si ya existe.

Ver también