Επεξεργασία

Κοινή χρήση μέσω


DataGridViewRowHeaderCell.GetValue(Int32) Method

Definition

Gets the value of the cell.

protected:
 override System::Object ^ GetValue(int rowIndex);
protected override object GetValue (int rowIndex);
protected override object? GetValue (int rowIndex);
override this.GetValue : int -> obj
Protected Overrides Function GetValue (rowIndex As Integer) As Object

Parameters

rowIndex
Int32

The index of the cell's parent row.

Returns

The value contained in the DataGridViewRowHeaderCell.

Exceptions

The value of the DataGridView property of the cell is not null and rowIndex is less than -1 or greater than or equal to the number of rows in the parent DataGridView.

Remarks

A rowIndex value of -1 indicates a shared row.

Applies to

See also