Modifier

Partager via


DataGridViewHeaderCell.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 of the current DataGridViewCell.

Exceptions

rowIndex is not -1.

Applies to

See also