ActiveReports 15 .NET Edition
GrapeCity.ActiveReports.Chart Assembly / GrapeCity.ActiveReports.Chart Namespace / DataPointsCollection.Converter Class / ConvertTo Method / ConvertTo(ITypeDescriptorContext,CultureInfo,Object,Type) Method
An System.ComponentModel.ITypeDescriptorContext that provides a format context.
A CultureInfo. If null is passed, the current culture is assumed.
The Object to convert.
A System.Type that represents the type you want to convert to.

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

    Parameters

    context
    An System.ComponentModel.ITypeDescriptorContext that provides a format context.
    culture
    A CultureInfo. If null is passed, the current culture is assumed.
    value
    The Object to convert.
    destinationType
    A System.Type that represents the type you want to convert to.

    Return Value

    An Object that represents the converted value.
    See Also