[]
Converts the given value object to the specified type, using the specified context and culture information.
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 | A CultureInfo. If null is passed, the current culture is assumed. |
object | value | The Object to convert. |
Type | destinationType | A Type that represents the type you want to convert to. |
Type | Description |
---|---|
object | An Object that represents the converted value. |