Method CanConvertFrom
CanConvertFrom(ITypeDescriptorContext, Type)
Checks 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
true
if thie converter can convert from the provided type,false
otherwise.