'Declaration
Public Overloads Overrides NotOverridable Function ConvertTo( _ ByVal context As System.ComponentModel.ITypeDescriptorContext, _ ByVal culture As System.Globalization.CultureInfo, _ ByVal value As System.Object, _ ByVal destinationType As System.Type _ ) As System.Object
'Usage
Dim instance As CommandConverter Dim context As System.ComponentModel.ITypeDescriptorContext Dim culture As System.Globalization.CultureInfo Dim value As System.Object Dim destinationType As System.Type Dim value As System.Object value = instance.ConvertTo(context, culture, value, destinationType)
public override System.object ConvertTo( System.ComponentModel.ITypeDescriptorContext context, System.Globalization.CultureInfo culture, System.object value, System.Type destinationType )
Parameters
- context
- A format context that provides information about the environment from which this converter is being invoked.
- culture
- Culture specific information.
- value
- The object to convert.
- destinationType
- The type to convert the object to.
Return Value
The converted object, or an empty string if value is null.