System::Collections::Generic::List::IndexOf method
अंतर्वस्तु
[
छिपाना
]List::IndexOf(const T&) const method
विशिष्ट आइटम का पहला इंडेक्स प्राप्त करता है।
int System::Collections::Generic::List<T>::IndexOf(const T &item) const override
| पैरामीटर | प्रकार | विवरण |
|---|---|---|
| आइटम | const T& | खोजने के लिए आइटम। |
ReturnValue
निर्दिष्ट आइटम की पहली उपस्थिति का इंडेक्स, या यदि नहीं मिला तो -1।
संबंधित देखें
- Class List
- Namespace System::Collections::Generic
- Library Aspose.Page for C++
List::IndexOf(const T&, int) const method
सूची में विशिष्ट आइटम की तलाश करता है।
int System::Collections::Generic::List<T>::IndexOf(const T &item, int index) const
| पैरामीटर | प्रकार | विवरण |
|---|---|---|
| आइटम | const T& | खोजने के लिए आइटम। |
| सूचकांक | int | जिस स्थान से खोज शुरू करनी है उसका सूचकांक। |
ReturnValue
निर्दिष्ट आइटम के पहले उदाहरण का इंडेक्स, या यदि नहीं मिला तो -1।
संबंधित देखें
- Class List
- Namespace System::Collections::Generic
- Library Aspose.Page for C++