CellValueToStringConverter.Convert(Cell, CellValue, Type, out Object) Method
Converts a worksheet cell value to a string.
Namespace: DevExpress.Spreadsheet.Export
Assembly: DevExpress.Spreadsheet.v24.2.Core.dll
NuGet Package: DevExpress.Spreadsheet.Core
#Declaration
public virtual ConversionResult Convert(
Cell cell,
CellValue cellValue,
Type dataColumnType,
out object result
)
#Parameters
Name | Type | Description |
---|---|---|
cell | Cell | A Cell object that is the worksheet cell whose value is converted. |
cell |
Cell |
A Cell |
data |
Type | A Type object that indicates the column data type to which a cell value is converted. Not used, the method always converts a value to the string. |
result | Object | An object that is the result of conversion - a value that will be written in a Data |
#Returns
Type | Description |
---|---|
Conversion |
A Conversion |
#Remarks
If the conversion is successful, the Convert method returns the ConversionResult.Success value.
Note
If an attempt to convert a value failed, the Convert method returns the Conversion