Contains()

Queue::Contains(const T&) const method

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

virtual bool System::Collections::Generic::Queue<T>::Contains(const T &item) const

Arguments

ParameterTypeDescription
itemconst T&Item to look for.

Return Value

True if item is present, false otherwise.

See Also