'Declaration Public Overloads Overrides Function ConvertTo( _ ByVal typeDescriptorContext As ITypeDescriptorContext, _ ByVal cultureInfo As CultureInfo, _ ByVal value As Object, _ ByVal destinationType As Type _ ) As Object
'Usage Dim instance As StackLengthConverter Dim typeDescriptorContext As ITypeDescriptorContext Dim cultureInfo As CultureInfo Dim value As Object Dim destinationType As Type Dim value As Object value = instance.ConvertTo(typeDescriptorContext, cultureInfo, value, destinationType)
public override object ConvertTo( ITypeDescriptorContext typeDescriptorContext, CultureInfo cultureInfo, object value, Type destinationType )
Parameters
- typeDescriptorContext
- The ITypeDescriptorContext for this call.
- cultureInfo
- The CultureInfo which is respected when converting.
- value
- The StackLength to convert.
- destinationType
- The type to which to convert the StackLength instance.
Return Value
The object which was constructed.