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