Method CanConvertTo
CanConvertTo(ITypeDescriptorContext, Type)
CanConvertTo - Returns whether or not this class can convert to a given type.
public override bool CanConvertTo(ITypeDescriptorContext typeDescriptorContext, Type destinationType)
Parameters
typeDescriptorContext
ITypeDescriptorContextThe ITypeDescriptorContext for this call.
destinationType
TypeThe Type being queried for support.
Returns
- bool
bool - True if this converter can convert to the provided type, false if not.