Szerkesztés

Megosztás a következőn keresztül:


DataGridViewColumnHeaderCell.SetValue(Int32, Object) Method

Definition

Sets the value of the cell.

protected:
 override bool SetValue(int rowIndex, System::Object ^ value);
protected override bool SetValue (int rowIndex, object value);
protected override bool SetValue (int rowIndex, object? value);
override this.SetValue : int * obj -> bool
Protected Overrides Function SetValue (rowIndex As Integer, value As Object) As Boolean

Parameters

rowIndex
Int32

The index of the cell's parent row.

value
Object

The cell value to set.

Returns

true if the value has been set; otherwise false.

Exceptions

rowIndex is not -1.

Applies to

See also