[]
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)
Public Overrides Function ConvertTo(context As ITypeDescriptorContext, culture As CultureInfo, value As Object, destinationType As Type) As Object
Type | Name | Description |
---|---|---|
ITypeDescriptorContext | context | An ITypeDescriptorContext that provides a format context. |
CultureInfo | culture | The CultureInfo to use as the current culture. |
object | value | The object to convert. |
Type | destinationType | The Type to convert the value parameter to. |
Type | Description |
---|---|
object | An object that represents the converted value. |