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
)
Public Shared Function ChangeType (
value As Object,
conversionType As Type,
convertNulls As Boolean
) As Object
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:
ObjectReturns a value of the converted type.
See Also