DataGridViewRowHeaderCell.GetValue(Int32) 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.
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
Совместная работа с нами на GitHub
Источник этого содержимого можно найти на GitHub, где также можно создавать и просматривать проблемы и запросы на вытягивание. Дополнительные сведения см. в нашем руководстве для участников.