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
Collaborer avec nous sur GitHub
La source de ce contenu se trouve sur GitHub, où vous pouvez également créer et examiner les problèmes et les demandes de tirage. Pour plus d’informations, consultez notre guide du contributeur.