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
| 매개변수 | 형식 | 설명 |
|---|---|---|
| index | 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++