다음을 통해 공유


ListView.CheckedListViewItemCollection.Item[] 속성

정의

컬렉션 내의 항목을 가져옵니다.

오버로드

Name Description
Item[String]

컬렉션 내에서 지정된 키를 가진 항목을 가져옵니다.

Item[Int32]

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

Item[String]

Source:
ListView.CheckedListViewItemCollection.cs
Source:
ListView.CheckedListViewItemCollection.cs
Source:
ListView.CheckedListViewItemCollection.cs
Source:
ListView.CheckedListViewItemCollection.cs
Source:
ListView.CheckedListViewItemCollection.cs

컬렉션 내에서 지정된 키를 가진 항목을 가져옵니다.

public:
 virtual property System::Windows::Forms::ListViewItem ^ default[System::String ^] { System::Windows::Forms::ListViewItem ^ get(System::String ^ key); };
public virtual System.Windows.Forms.ListViewItem this[string key] { get; }
member this.Item(string) : System.Windows.Forms.ListViewItem
Default Public Overridable ReadOnly Property Item(key As String) As ListViewItem

매개 변수

key
String

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

속성 값

ListViewItem 컬렉션 내에서 지정된 인덱스가 있는 항목을 나타내는 값입니다.

예외

소유자가 ListView 가상 모드에 있습니다.

설명

는 매개 변수가 비어 있거나 비어 있으면 >를 반환합니다.

속성은 Name 에 있는 항목의 키에 ListView.CheckedListViewItemCollection해당합니다.

적용 대상

Item[Int32]

Source:
ListView.CheckedListViewItemCollection.cs
Source:
ListView.CheckedListViewItemCollection.cs
Source:
ListView.CheckedListViewItemCollection.cs
Source:
ListView.CheckedListViewItemCollection.cs
Source:
ListView.CheckedListViewItemCollection.cs

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

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

매개 변수

index
Int32

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

속성 값

ListViewItem 컬렉션 내의 지정된 인덱스 위치에 있는 항목을 나타내는 값입니다.

예외

index 매개 변수가 0보다 작거나 속성 값 CountListView.CheckedListViewItemCollection보다 크거나 같은 경우

가상 ListView 모드입니다.

설명

이 인덱서를 사용하면 .에서 특정 항목을 가져올 수 있습니다 ListView.CheckedListViewItemCollection. 이 컬렉션에 저장된 항목은 에서 확인된 항목을 ListView.ListViewItemCollectionListView 나타내는 항목 ListView입니다.

적용 대상