Unit.Inequality 运算符

指示第一个参数和第二个参数是否不相等。

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
始终返回 false。

另请参阅

参考

单元结构

System.Reactive 命名空间