Unit

Unit.Equality Operator

Indicates whether first and second arguments are equal.

Namespace:  System.Reactive
Assembly:  System.Reactive (in System.Reactive.dll)

Syntax

'Declaration
Public Shared Operator = ( _
    first As Unit, _
    second As Unit _
) As Boolean
'Usage
Dim first As Unit
Dim second As Unit
Dim returnValue As Boolean

returnValue = (first = second)
public static bool operator ==(
    Unit first,
    Unit second
)
public:
static bool operator ==(
    Unit first, 
    Unit second
)
static let inline (=)
        first:Unit * 
        second:Unit  : bool
JScript supports the use of overloaded operators, but not the declaration of new ones.

Parameters

Return Value

Type: System.Boolean
Always returns true.

See Also

Reference

Unit Structure

System.Reactive Namespace