[]
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 | A CultureInfo. If a null reference (Nothing in Visual Basic) is passed, the current culture is assumed. |
object | value | The object to convert. |
Type | type | The Type to convert the value parameter to. |
Type | Description |
---|---|
object | An Object that represents the converted value. |