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
- first
Type: System.Reactive.Unit
The first Unit to compare, or null.
- second
Type: System.Reactive.Unit
The second Unit to compare, or null.
Return Value
Type: System.Boolean
Always returns true.