[]
Returns whether this converter can convert the object to the specified type, using the specified context.
public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType)
Type | Name | Description |
---|---|---|
ITypeDescriptorContext | context | An ITypeDescriptorContext that provides a format context. |
Type | destinationType | A Type that represents the type you want to convert to. |
Type | Description |
---|---|
bool | true if this converter can perform the conversion; otherwise, false. |