ListViewGroupCollection.Item[] プロパティ

定義

コレクション内の ListViewGroup を取得または設定します。

オーバーロード

名前 説明
Item[String]

指定したListViewGroup プロパティ値を持つNameを取得または設定します。

Item[Int32]

コレクション内の指定したインデックス位置にある ListViewGroup を取得または設定します。

Item[String]

ソース:
ListViewGroupCollection.cs
ソース:
ListViewGroupCollection.cs
ソース:
ListViewGroupCollection.cs
ソース:
ListViewGroupCollection.cs
ソース:
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]

ソース:
ListViewGroupCollection.cs
ソース:
ListViewGroupCollection.cs
ソース:
ListViewGroupCollection.cs
ソース:
ListViewGroupCollection.cs
ソース:
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 メソッドを使用します。

適用対象