ActiveReports 19 .NET Edition
MESCIUS.ActiveReports.Core.Data.ExpressionInfo Assembly / GrapeCity.Enterprise.Data.Expressions.Evaluation Namespace / Variant Structure / ConvertTo Method
The new type of the variant.

In This Topic
    ConvertTo Method (Variant)
    In This Topic
    Converts the variant to the specified type.
    Syntax
    'Declaration
     
    Public Function ConvertTo( _
       ByVal newType As VariantType _
    ) As Variant
    public Variant ConvertTo( 
       VariantType newType
    )

    Parameters

    newType
    The new type of the variant.

    Return Value

    Variant value with the new type.
    See Also