Jazyk

DataGridViewSelectedRowCollection.Item[Int32] Vlastnost

Definice

Získá řádek v zadaném indexu.

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

Parametry

Hodnota vlastnosti

Aktuální DataGridViewRow index.

Výjimky

index je menší než 0.

nebo

index je roven nebo větší než počet řádků v kolekci.

Platí pro

Viz také