ComponentOne Excel for .NET
C1.Excel Assembly / C1.Excel Namespace / XLCell Class / Value Property

In This Topic
    Value Property (XLCell)
    In This Topic
    Gets or sets the value stored in the cell.
    Syntax
    'Declaration
     
    Public Property Value As System.Object
    public System.object Value {get; set;}
    Remarks

    The value may contain strings, numeric, Boolean, DateTime, or null objects. Other types of objects cannot be saved in Excel files.

    DateTime values are internally converted into doubles, and stored in the sheet as such. The only way to tell the difference between a DateTime value and a double in Excel is by way of the format associated with the cell (XLStyle.Format property).

    See Also