[]
        
(Showing Draft Content)

FarPoint.Win.Spread.Data.MapperInfoConverter.ConvertTo

ConvertTo Method

ConvertTo(ITypeDescriptorContext, CultureInfo, object, Type)

Converts the given value object to the specified type, using the specified context and culture information.

Declaration
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
Parameters
Type Name Description
ITypeDescriptorContext context

An ITypeDescriptorContext that provides a format context

CultureInfo culture

A CultureInfo. If null is passed, the current culture is assumed

object value

object to convert

Type destinationType

Type to convert the value parameter to

Returns
Type Description
object

An object that represents the converted value.

Overrides
Exceptions
Type Condition
NotSupportedException

conversion cannot be performed.

ArgumentNullException

destinationType parameter is null.