System::Collections::Generic::Queue::Contains method

Queue::Contains method

Checks if queue contains specific element using operator == to compare elements.

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

ReturnValue

True if item is present, false otherwise.

See Also