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
क्रमबद्ध सूची में आइटम का इंडेक्स या सबसे निकटतम इंडेक्स का पूरक।
संबंधित देखें
- Class List
- Namespace System::Collections::Generic
- Library Aspose.Page for C++
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& | खोजने के लिए आइटम। |
| comparer | const SharedPtr<System::Collections::Generic::IComparer<T>>& | Comparer उपयोग करने के लिए। |
ReturnValue
क्रमबद्ध सूची में आइटम का इंडेक्स या सबसे निकटतम इंडेक्स का पूरक।
संबंधित देखें
- Typedef SharedPtr
- Class IComparer
- Class List
- Namespace System::Collections::Generic
- Library Aspose.Page for C++
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 | रेंज की शुरुआत। |
| count | int | रेंज का आकार। |
| आइटम | const T& | खोजने के लिए आइटम। |
| comparer | const SharedPtr<System::Collections::Generic::IComparer<T>>& | Comparer उपयोग करने के लिए। |
ReturnValue
क्रमबद्ध सूची में आइटम का इंडेक्स या सबसे निकटतम इंडेक्स का पूरक।
संबंधित देखें
- Typedef SharedPtr
- Class IComparer
- Class List
- Namespace System::Collections::Generic
- Library Aspose.Page for C++