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

List::Contains method

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

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

ReturnValue

True إذا تم العثور على العنصر، false وإلا.

انظر أيضًا