Click or drag to resize

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.6.0.0 (5.6.19.0117)
Syntax
public override Object ConvertTo(
	ITypeDescriptorContext context,
	CultureInfo culture,
	Object value,
	Type destinationType
)

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
ExceptionCondition
ArgumentNullExceptionThe destinationType parameter is .
NotSupportedExceptionThe conversion could not be performed.
See Also