[]
        
(Showing Draft Content)

C1.C1Preview.Unit.TypeConverter.CanConvertTo

CanConvertTo Method

CanConvertTo(ITypeDescriptorContext, Type)

Tests whether an object can be converted to the specified type.

Declaration
public override bool CanConvertTo(ITypeDescriptorContext context, Type type)
Parameters
Type Name Description
ITypeDescriptorContext context

The conversion context.

Type type

The target type.

Returns
Type Description
bool

true if the conversion can be performed, false otherwise.

Overrides