指出第一個和第二個引數是否相等。
Namespace:System.Reactive
裝配: System.Reactive.dll) 中的 System.Reactive (
語法
'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.
參數
- first
類型: System.Reactive.Unit
要比較的第一個單位,或 null。
- second
類型: System.Reactive.Unit
要比較的第二個單位,或 Null。
傳回值
類型: System.Boolean
永遠傳回 true。