DataGridViewColumnHeaderCell.SetValue(Int32, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.