[]
Returns whether this converter can convert the object to the specified type, using the specified context.
public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
Type | Name | Description |
---|---|---|
ITypeDescriptorContext | context | An ITypeDescriptorContext that provides a format context. |
CultureInfo | culture | |
object | value | |
Type | destinationType | A Type that represents the type you want to convert to. |
Type | Description |
---|---|
object | true if this converter can perform the conversion; otherwise, false. |