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

IList::IndexOf method

지정된 항목의 첫 번째 인덱스를 가져옵니다.

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

ReturnValue

지정된 항목이 처음 나타나는 인덱스, 없으면 -1.

또 보기