[]
Converts the given value object to the reference type using the specified context and arguments.
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 | A CultureInfo that specifies the culture used to represent the font. |
| object | value | The object to convert. |
| Type | destinationType | The type to convert the object to. |
| Type | Description |
|---|---|
| object | The converted object. |
| Type | Condition |
|---|---|
| ArgumentNullException |
|
| NotSupportedException | The conversion cannot be performed. |