CellValue.Value

CellValue.Value property

Gets/sets the cell value.

public object Value { get; set; }

Remarks

The value must be of the correct type of object corresponding to the Type:

TypeValue
IsNullnull, any other object will be ignored
IsNumericdouble
IsDateTimeDateTime
IsStringstring
IsBoolbool
IsErrorerror string such as “#VALUE!”, “#NAME?”, …

See Also