طريقة System::Collections::Generic::ICollection::Contains

ICollection::Contains method

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

virtual bool System::Collections::Generic::ICollection<T>::Contains(const T &item) const =0
معاملنوعالوصف
itemconst T&العنصر المراد البحث عنه.

ReturnValue

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

انظر أيضًا