System::Collections::Generic::Stack::Contains method

Stack::Contains method

Checks if specific item is present in container; uses operator == for comparison.

virtual bool System::Collections::Generic::Stack<T>::Contains(const T &item) const
ParameterTypeDescription
itemconst T&Item to look for.

ReturnValue

True if item is found, false otherwise.

See Also