ActiveReports 19 .NET Edition
MESCIUS.ActiveReports.Core.Rdl Assembly / GrapeCity.ActiveReports.PageReportModel Namespace / Length Structure / Inequality Operator
A first Length value to compare.
A second Length value to compare.
Example

In This Topic
    Inequality Operator (Length)
    In This Topic
    Determines if two Length values are not equal.
    Syntax
    'Declaration
     
    Public Operator <>( _
       ByVal unit1 As Length, _
       ByVal unit2 As Length _
    ) As Boolean
    public bool operator !=( 
       Length unit1,
       Length unit2
    )

    Parameters

    unit1
    A first Length value to compare.
    unit2
    A second Length value to compare.

    Return Value

    A System.Boolean value. true if the two lengths are not equal; otherwise, false.
    Example
    var length1 = new Length("1in");
    var length2 = new Length("2in");
    bool result = length1 != length2; // true
    See Also