ComponentOne Reports for WPF
C1.C1Preview Namespace / C1PageSettings.PageSettingsTypeConverter Class / ConvertTo Method / ConvertTo(ITypeDescriptorContext,CultureInfo,Object,Type) Method
An System.ComponentModel.ITypeDescriptorContext that provides a format context.
A System.Globalization.CultureInfo. If a null reference (Nothing in Visual Basic) is passed, the current culture is assumed.
The object to convert.
The System.Type to convert the value parameter to.

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 System.ComponentModel.ITypeDescriptorContext that provides a format context.
    culture
    A System.Globalization.CultureInfo. If a null reference (Nothing in Visual Basic) is passed, the current culture is assumed.
    value
    The object to convert.
    type
    The System.Type to convert the value parameter to.

    Return Value

    An Object that represents the converted value.
    See Also