GridItemCollection.Item[] プロパティ

定義

GridItem をコレクションから取得します。

オーバーロード

Item[Int32]

指定されたインデックス位置にある GridItem を取得します。

Item[String]

ラベルが一致する GridItem を取得します。

Item[Int32]

指定されたインデックス位置にある GridItem を取得します。

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

パラメーター

index
Int32

返されるグリッド項目のインデックス。

プロパティ値

指定したインデックスにある GridItem です。

適用対象

Item[String]

ラベルが一致する GridItem を取得します。

public:
 property System::Windows::Forms::GridItem ^ default[System::String ^] { System::Windows::Forms::GridItem ^ get(System::String ^ label); };
public System.Windows.Forms.GridItem this[string label] { get; }
public System.Windows.Forms.GridItem? this[string label] { get; }
member this.Item(string) : System.Windows.Forms.GridItem
Default Public ReadOnly Property Item(label As String) As GridItem

パラメーター

label
String

グリッド項目ラベルに一致する文字列値。

プロパティ値

ラベルが label パラメーターに一致するグリッド項目。

適用対象