[]
        
(Showing Draft Content)

C1.C1Preview.Unit.TypeConverter.ConvertTo

ConvertTo Method

ConvertTo(ITypeDescriptorContext, CultureInfo, object, Type)

Converts an object to the specified type.

Declaration
public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type type)
Parameters
Type Name Description
ITypeDescriptorContext context

The conversion context.

CultureInfo culture

The culture to use.

object value

The value to convert.

Type type

The target type.

Returns
Type Description
object

The converted object.

Overrides