[]
Tests whether an object can be converted to the specified type.
public override bool CanConvertTo(ITypeDescriptorContext context, Type type)
Type | Name | Description |
---|---|---|
ITypeDescriptorContext | context | The conversion context. |
Type | type | The target type. |
Type | Description |
---|---|
bool | true if the conversion can be performed, false otherwise. |