Aspose::Cells::CellValue::GetValue method

CellValue::GetValue method

Gets/sets the cell value.

Aspose::Cells::Object Aspose::Cells::CellValue::GetValue()

Remarks

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

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

See Also