System::Collections::Generic::List::BinarySearch मेथड

List::BinarySearch(const T&) const method

सॉर्टेड सूची में आइटम की खोज करता है।

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

ReturnValue

क्रमबद्ध सूची में आइटम का इंडेक्स या सबसे निकटतम इंडेक्स का पूरक।

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

List::BinarySearch(const T&, const SharedPtr<System::Collections::Generic::IComparer<T>>&) const method

सॉर्टेड सूची में आइटम की खोज करता है।

int System::Collections::Generic::List<T>::BinarySearch(const T &item, const SharedPtr<System::Collections::Generic::IComparer<T>> &comparer) const
पैरामीटरप्रकारविवरण
आइटमconst T&खोजने के लिए आइटम।
comparerconst SharedPtr<System::Collections::Generic::IComparer<T>>&Comparer उपयोग करने के लिए।

ReturnValue

क्रमबद्ध सूची में आइटम का इंडेक्स या सबसे निकटतम इंडेक्स का पूरक।

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

List::BinarySearch(int, int, const T&, const SharedPtr<System::Collections::Generic::IComparer<T>>&) const method

सॉर्टेड सूची में आइटम की खोज करता है।

int System::Collections::Generic::List<T>::BinarySearch(int index, int count, const T &item, const SharedPtr<System::Collections::Generic::IComparer<T>> &comparer) const
पैरामीटरप्रकारविवरण
सूचकांकintरेंज की शुरुआत।
countintरेंज का आकार।
आइटमconst T&खोजने के लिए आइटम।
comparerconst SharedPtr<System::Collections::Generic::IComparer<T>>&Comparer उपयोग करने के लिए।

ReturnValue

क्रमबद्ध सूची में आइटम का इंडेक्स या सबसे निकटतम इंडेक्स का पूरक।

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