C1.Xaml.Excel Assembly > C1.Xaml.Excel Namespace > XLCell Class : Value Property |
'Declaration Public Property Value As System.Object
'Usage Dim instance As XLCell Dim value As System.Object instance.Value = value value = instance.Value
public System.object Value {get; set;}
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).