ListView.SelectedIndexCollection.Item[Int32] 속성

정의

컬렉션 내의 지정된 인덱스에서 인덱스 값을 가져옵니다.

public:
 property int default[int] { int get(int index); };
public int this[int index] { get; }
member this.Item(int) : int
Default Public ReadOnly Property Item(index As Integer) As Integer

매개 변수

index
Int32

검색할 컬렉션에 있는 항목의 인덱스입니다.

속성 값

지정된 위치에 저장된 인덱스 값 ListView.ListViewItemCollection 입니다.

예외

index가 0보다 작거나 속성 값 Count 보다 크거나 같은 경우 ListView.SelectedIndexCollection

설명

이 인덱서를 사용하면 .에서 ListView.SelectedIndexCollection선택한 특정 인덱스를 가져올 수 있습니다. 컬렉션에 저장된 인덱스는 에서 선택한 항목을 ListView.ListViewItemCollection나타내는 인덱 ListViewListView 스입니다.

적용 대상