System::Collections::Generic::BaseSet::TryAdd method

BaseSet::TryAdd method

Adds element into set.

bool System::Collections::Generic::BaseSet<T, SET_T>::TryAdd(const T &item)
ParameterTypeDescription
itemconst T&Item to add.

ReturnValue

True if element was added, false if already exists.

See Also