[]
        
(Showing Draft Content)

GrapeCity.SpreadBuilder.Cells.DDCell.GetValue

GetValue Method

GetValue()

Returns the current value of the cell.

Declaration
public object GetValue()
Returns
Type Description
object

The current value of the cell, which can be:

  • A null reference (for a CellTypes.Blank cell type).
  • A string (for a CellTypes.Label cell type).
  • A double (for a CellTypes.Number cell type).
  • One of the values in the BiffCellBoolErrValues enumeration (for a CellTypes.BoolErr cell type).
Use the Type property to determine the cell type before returning the value, or check the type of the returned value.