[]
Converts an object to the specified type.
public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type type)
Type | Name | Description |
---|---|---|
ITypeDescriptorContext | context | The conversion context. |
CultureInfo | culture | The culture to use. |
object | value | The value to convert. |
Type | type | The target type. |
Type | Description |
---|---|
object | The converted object. |