## Collection::Contains method


يتحقق مما إذا كان العنصر موجودًا في المجموعة.

```cpp
bool System::Collections::ObjectModel::Collection<T>::Contains(const T &item) const override
```


| Parameter | Type | الوصف |
| --- | --- | --- |
| العنصر | const T\& | للبحث عنه. |

### ReturnValue

صحيح إذا كان العنصر موجودًا، خطأ خلاف ذلك.

## انظر أيضًا

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