共用方式為


Unit.Equality 運算子

指出第一個和第二個引數是否相等。

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.

參數

傳回值

類型: System.Boolean
永遠傳回 true。

另請參閱

參考

單位結構

System.Reactive 命名空間