## ICollection::Contains method


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

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


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

### ReturnValue

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

## انظر أيضًا

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