ListView.SelectedIndexCollection.IList.IndexOf(Object) 메서드

정의

ListView.SelectedIndexCollection의 인덱스를 반환합니다. ListView.SelectedIndexCollection에는 ListView.ListViewItemCollection 컨트롤의 ListView에 있는 선택된 항목의 인덱스가 포함되어 있습니다.

이 API는 제품 인프라를 지원하며 코드에서 직접 사용되지 않습니다.

 virtual int System.Collections.IList.IndexOf(System::Object ^ selectedIndex) = System::Collections::IList::IndexOf;
int IList.IndexOf (object selectedIndex);
int IList.IndexOf (object? selectedIndex);
abstract member System.Collections.IList.IndexOf : obj -> int
override this.System.Collections.IList.IndexOf : obj -> int
Function IndexOf (selectedIndex As Object) As Integer Implements IList.IndexOf

매개 변수

selectedIndex
Object

컬렉션에서 찾을 ListView.ListViewItemCollection의 인덱스(0부터 시작)입니다.

반환

Int32

목록에 있으면 value의 인덱스이고, 그렇지 않으면 -1입니다.

구현

적용 대상