語言

DataGridViewSelectedCellCollection.Item[Int32] 屬性

定義

取得指定索引的儲存格。

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

參數

屬性值

在指定的索引上。DataGridViewCell

例外狀況

index 小於0。

-或-

index 等於或大於集合中儲存格的數量。

適用於

另請參閱