ActiveReports 19 .NET Edition
MESCIUS.ActiveReports.SpreadBuilder Assembly / GrapeCity.SpreadBuilder.Cells Namespace / DDCell Class / GetValue Method

In This Topic
    GetValue Method (DDCell)
    In This Topic
    Returns the current value of the cell.
    Syntax
    'Declaration
     
    Public Function GetValue() As Object
    public object GetValue()

    Return Value

    The current value of the cell, which can be:
    • A null reference (for a CellTypes.Blank cell type).
    • A System.String (for a CellTypes.Label cell type).
    • A System.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.
    See Also