[]
Tests whether an object of the specified type can be converted to the type of this converter.
public override bool CanConvertTo(ITypeDescriptorContext context, Type type)
Type | Name | Description |
---|---|---|
ITypeDescriptorContext | context | An ITypeDescriptorContext that provides a format context. |
Type | type | A Type that represents the type to convert from. |
Type | Description |
---|---|
bool | True if this converter can perform the conversion, false otherwise. |