[]
Returns a value that indicates whether the object can be converted to a specified data type.
public override bool CanConvertTo(ITypeDescriptorContext context, Type destType)
Type | Name | Description |
---|---|---|
ITypeDescriptorContext | context | The context. |
Type | destType | The data type. |
Type | Description |
---|---|
bool | True if the conversion is supported, false otherwise. |