Method CanConvertTo
CanConvertTo(ITypeDescriptorContext?, Type?)
Returns whether this converter can convert the object to the specified type, using the specified context.
public override bool CanConvertTo(ITypeDescriptorContext? context, Type? destinationType)
Parameters
contextITypeDescriptorContextAn ITypeDescriptorContext that provides a format context.
destinationTypeTypeA Type that represents the type you want to convert to.