## Collection::Contains method


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

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


| معامل | نوع | الوصف |
| --- | --- | --- |
| item | const T\& | للبحث عنه. |

### ReturnValue

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

## انظر أيضًا

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