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& | 찾을 항목. |
| index | int | 검색을 시작할 인덱스. |
ReturnValue
지정된 항목이 처음 나타나는 인스턴스의 인덱스, 찾지 못하면 -1.
또 보기
- Class List
- Namespace System::Collections::Generic
- Library Aspose.Page for C++