DataGridViewSelectedCellCollection.Item[Int32] Vlastnost

Definice

Získá buňku v zadaném indexu.

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

Parametry

Hodnota vlastnosti

DataGridViewCell

V DataGridViewCell zadaném indexu.

Výjimky

index je menší než 0.

-nebo- index je roven nebo větší než počet buněk v kolekci.

Platí pro

Viz také