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

List::Contains method

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

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

ReturnValue

صحيح إذا تم العثور على العنصر، خطأ إذا لم يُعثر عليه.

انظر أيضًا