Click or drag to resize

StiReportChangeType Method (Object, Type, Boolean)

Changes a type of the specified value.

Namespace:  Stimulsoft.Report
Assembly:  Stimulsoft.Report (in Stimulsoft.Report.dll) Version: 2019.3.1.0
Syntax
public static Object ChangeType(
	Object value,
	Type conversionType,
	bool convertNulls
)

Parameters

value
Type: SystemObject
A parameter which type will be changed.
conversionType
Type: SystemType
A type to which the value parameter will be converted.
convertNulls
Type: SystemBoolean
A parameter which, when converting zero values, instead of null, returns String.Empty, false for Boolean, ' ' for char or null for DateTime.

Return Value

Type: Object
Returns a value of the converted type.
See Also