System::Collections::Generic::IList::IndexOf 메서드

IList::IndexOf method

컨테이너에서 항목이 처음 나타나는 인덱스를 가져옵니다.

virtual int System::Collections::Generic::IList<T>::IndexOf(const T &item) const =0
매개변수형식설명
항목const T&찾을 항목.

ReturnValue

컨테이너에서 항목이 처음 나타나는 인덱스, 찾지 못하면 -1을 반환합니다.

또 보기