System::Collections::Generic::Stack::Contains method
Stack::Contains method
يتحقق مما إذا كان العنصر المحدد موجودًا في الحاوية؛ يستخدم العامل == للمقارنة.
virtual bool System::Collections::Generic::Stack<T>::Contains(const T &item) const
| Parameter | Type | الوصف |
|---|---|---|
| العنصر | const T& | العنصر للبحث عنه. |
ReturnValue
True إذا تم العثور على العنصر، false وإلا.
انظر أيضًا
- Class Stack
- Namespace System::Collections::Generic
- Library Aspose.Page for C++