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

IList::IndexOf method

يحصل على الفهرس الأول للعنصر المحدد.

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

ReturnValue

فهرس أول ظهور للعنصر المحدد، وإلا -1.

انظر أيضًا