Méthode System::Collections::Generic::Stack::Contains
Stack::Contains method
Vérifie si un élément spécifique est présent dans le conteneur ; utilise l’opérateur == pour la comparaison.
virtual bool System::Collections::Generic::Stack<T>::Contains(const T &item) const
| Paramètre | Type | Description |
|---|---|---|
| item | const T& | Élément à rechercher. |
ReturnValue
Vrai si l’élément est trouvé, faux sinon.
Voir aussi
- Class Stack
- Namespace System::Collections::Generic
- Library Aspose.Page for C++