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
| Parameter | Type | Description |
|---|---|---|
| item | const T& | Item to look for. |
ReturnValue
True if item is found, false otherwise.
See Also
- Class Stack
- Namespace System::Collections::Generic
- Library Aspose.PUB for C++