ListViewGroupCollection.Item[] 속성

정의

컬렉션의 값을 ListViewGroup 가져오거나 설정합니다.

오버로드

Name Description
Item[String]

지정된 ListViewGroup 속성 값을 가진 Name 값을 가져오거나 설정합니다.

Item[Int32]

컬렉션 내의 ListViewGroup 지정된 인덱스에서 값을 가져오거나 설정합니다.

Item[String]

Source:
ListViewGroupCollection.cs
Source:
ListViewGroupCollection.cs
Source:
ListViewGroupCollection.cs
Source:
ListViewGroupCollection.cs
Source:
ListViewGroupCollection.cs

지정된 ListViewGroup 속성 값을 가진 Name 값을 가져오거나 설정합니다.

public:
 property System::Windows::Forms::ListViewGroup ^ default[System::String ^] { System::Windows::Forms::ListViewGroup ^ get(System::String ^ key); void set(System::String ^ key, System::Windows::Forms::ListViewGroup ^ value); };
public System.Windows.Forms.ListViewGroup this[string key] { get; set; }
public System.Windows.Forms.ListViewGroup? this[string key] { get; set; }
member this.Item(string) : System.Windows.Forms.ListViewGroup with get, set
Default Public Property Item(key As String) As ListViewGroup

매개 변수

key
String

가져오기 또는 설정할 그룹의 이름입니다.

속성 값

ListViewGroup 지정된 이름의 이름 또는 null 이러한 ListViewGroup 이름이 없는 경우입니다.

적용 대상

Item[Int32]

Source:
ListViewGroupCollection.cs
Source:
ListViewGroupCollection.cs
Source:
ListViewGroupCollection.cs
Source:
ListViewGroupCollection.cs
Source:
ListViewGroupCollection.cs

컬렉션 내의 ListViewGroup 지정된 인덱스에서 값을 가져오거나 설정합니다.

public:
 property System::Windows::Forms::ListViewGroup ^ default[int] { System::Windows::Forms::ListViewGroup ^ get(int index); void set(int index, System::Windows::Forms::ListViewGroup ^ value); };
public System.Windows.Forms.ListViewGroup this[int index] { get; set; }
member this.Item(int) : System.Windows.Forms.ListViewGroup with get, set
Default Public Property Item(index As Integer) As ListViewGroup

매개 변수

index
Int32

가져올 또는 설정할 컬렉션 내의 ListViewGroup 인덱스입니다.

속성 값

ListViewGroup 컬렉션 내의 지정된 인덱스입니다.

예외

index 가 0보다 작거나 같거나 같음 Count입니다.

설명

컬렉션 내의 지정된 인덱스에서 그룹을 검색하려면 이 속성을 사용합니다. 그룹 개체에 대한 참조가 있고 인덱스가 필요한 경우 메서드를 IndexOf 사용합니다.

적용 대상