[]
Converts the given value object to the specified type.
public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type type)
Type | Name | Description |
---|---|---|
ITypeDescriptorContext | context | An ITypeDescriptorContext that provides a format context. |
CultureInfo | culture | The culture into which |
object | value | The object to convert. |
Type | type | The target type. |
Type | Description |
---|---|
object | An object representing the converted value. |