SystemTypeConverterBaseTConvertTo Method (ITypeDescriptorContext, CultureInfo, Object, Type) |
Converts the given value object to the specified type
Namespace:
SD.LLBLGen.Pro.ORMSupportClasses
Assembly:
SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.4.0.0 (5.4.0)
Syntax public override Object ConvertTo(
ITypeDescriptorContext context,
CultureInfo culture,
Object value,
Type destinationType
)
Public Overrides Function ConvertTo (
context As ITypeDescriptorContext,
culture As CultureInfo,
value As Object,
destinationType As Type
) As Object
Parameters
- context
- Type: System.ComponentModelITypeDescriptorContext
Ignored - culture
- Type: System.GlobalizationCultureInfo
Ignored - value
- Type: SystemObject
The Object to convert. - destinationType
- Type: SystemType
The Type to convert the value parameter to.
Return Value
Type:
Object
An
Object that represents the converted value. The value will be 1 if
value is true, otherwise 0
Exceptions See Also