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
contextITypeDescriptorContextAn ITypeDescriptorContext that provides a format context.
destinationTypeTypeA Type that represents the type to which you want to convert.