System::Collections::IList::Contains طريقة

IList::Contains method

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

virtual bool System::Collections::IList::Contains(SharedPtr<System::Object> item) const =0
معاملنوعالوصف
itemSharedPtr<System::Object>العنصر المراد البحث عنه.

ReturnValue

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

انظر أيضًا