ActiveReports 19 .NET Edition
MESCIUS.ActiveReports.Core.Data.ExpressionInfo Assembly / GrapeCity.Enterprise.Data.Expressions.Evaluation Namespace / Variant Structure / Unary Plus Operator
The variant.

In This Topic
    Unary Plus Operator
    In This Topic
    Tries to convert string variant to numeric, raises expceptions for other non-numeric types, does nothing for all numeric types.
    Syntax
    'Declaration
     
    Public Operator +( _
       ByVal a As Variant _
    ) As Variant
    public Variant operator +( 
       Variant a
    )

    Parameters

    a
    The variant.
    Exceptions
    ExceptionDescription
    Thrown if the Variant is of a non-numeric, non-boolean type that does not support negation, such as TimeSpan, Date, or Object.
    See Also