PrintDocument for WinForms | ComponentOne
C1.PrintDocument.4.8 Assembly / C1.C1Preview Namespace / Unit Structure / Equality Operator
The first unit value.
The second unit value.

In This Topic
    Equality Operator (Unit)
    In This Topic
    Tests whether the two unit values are equal.
    Syntax
    'Declaration
     
    Public Operator =( _
       ByVal u1 As Unit, _
       ByVal u2 As Unit _
    ) As Boolean
    public bool operator ==( 
       Unit u1,
       Unit u2
    )

    Parameters

    u1
    The first unit value.
    u2
    The second unit value.

    Return Value

    true if the two units are equal, false otherwise.
    See Also