Contains()

BaseSet::Contains(const T&) const method

Checks if element is present in set.

bool System::Collections::Generic::BaseSet<T, SET_T>::Contains(const T &item) const override

Arguments

ParameterTypeDescription
itemconst T&Item to look for.

Return Value

True if item is present in set, false otherwise.

See Also