Method CanConvertTo
CanConvertTo(ITypeDescriptorContext?, Type?)
Returns a value indicating whether this converter can convert an object to the given destination type using the context.
public override bool CanConvertTo(ITypeDescriptorContext? context, Type? destinationType)
Parameters
context
ITypeDescriptorContextAn ITypeDescriptorContext that provides a format context.
destinationType
TypeA Type that represents the type to which you want to convert.