طريقة System::Collections::Generic::ICollection::Contains
ICollection::Contains method
يتحقق مما إذا كان العنصر موجودًا في المجموعة.
virtual bool System::Collections::Generic::ICollection<T>::Contains(const T &item) const =0
| Parameter | Type | الوصف |
|---|---|---|
| العنصر | const T& | العنصر للبحث عنه. |
ReturnValue
صحيح إذا كان العنصر موجودًا، خطأ خلاف ذلك.
انظر أيضًا
- Class ICollection
- Namespace System::Collections::Generic
- Library Aspose.Page for C++