System::Collections::ObjectModel::Collection::Contains method

Collection::Contains method

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

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

ReturnValue

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

انظر أيضًا