ComponentOne Reports for WPF
C1.C1Preview Namespace / Tag.TagConverter Class / ConvertTo Method / ConvertTo(ITypeDescriptorContext,CultureInfo,Object,Type) Method
An ITypeDescriptorContext that provides a format context.
The culture into which value will be converted.
The object to convert.
The target type.

In This Topic
    ConvertTo(ITypeDescriptorContext,CultureInfo,Object,Type) Method
    In This Topic
    Converts the given value object to the specified type.
    Syntax
    'Declaration
     
    Public Overloads Overrides Function ConvertTo( _
       ByVal context As ITypeDescriptorContext, _
       ByVal culture As CultureInfo, _
       ByVal value As Object, _
       ByVal type As Type _
    ) As Object
    public override object ConvertTo( 
       ITypeDescriptorContext context,
       CultureInfo culture,
       object value,
       Type type
    )

    Parameters

    context
    An ITypeDescriptorContext that provides a format context.
    culture
    The culture into which value will be converted.
    value
    The object to convert.
    type
    The target type.

    Return Value

    An object representing the converted value.
    See Also