System::Collections::ObjectModel::Collection::IndexOf method

Collection::IndexOf method

संग्रह में तत्व की खोज करता है।

int System::Collections::ObjectModel::Collection<T>::IndexOf(const T &item) const override
पैरामीटरप्रकारविवरण
आइटमconst T&खोजने के लिए आइटम।

ReturnValue

निर्दिष्ट आइटम की पहली उपस्थिति का इंडेक्स, या यदि न मिले तो -1।

संबंधित देखें