[]
        
(Showing Draft Content)

C1.Win.Command.C1Command.TypeConverter.ConvertTo

ConvertTo Method

ConvertTo(ITypeDescriptorContext, CultureInfo, object, Type)

Converts the given value object to the specified type.

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

An ITypeDescriptorContext that provides a format context.

CultureInfo cinfo

A CultureInfo object.

object o

The Object to convert.

Type type

The Type to convert the value parameter to.

Returns
Type Description
object
Overrides