## Stack::Contains method


Memeriksa apakah item tertentu ada di dalam kontainer; menggunakan operator == untuk perbandingan.

```cpp
virtual bool System::Collections::Generic::Stack<T>::Contains(const T &item) const
```


| Parameter | Tipe | Deskripsi |
| --- | --- | --- |
| item | const T\& | Item yang dicari. |

### ReturnValue

Benar jika item ditemukan, salah jika tidak.

## Lihat Juga

* Class [Stack](../)
* Namespace [System::Collections::Generic](../../)
* Library [Aspose.Page for C++](../../../)
