通知<T>.不等运算符

指示左参数和右参数是否不相等。

Namespace:System.Reactive
装配: System.Reactive.dll) 中的 System.Reactive (

语法

'Declaration
Public Shared Operator <> ( _
    left As Notification(Of T), _
    right As Notification(Of T) _
) As Boolean
'Usage
Dim left As Notification(Of T)
Dim right As Notification(Of T)
Dim returnValue As Boolean

returnValue = (left <> right)
public static bool operator !=(
    Notification<T> left,
    Notification<T> right
)
public:
static bool operator !=(
    Notification<T>^ left, 
    Notification<T>^ right
)
static let inline (<>)
        left:Notification<'T> * 
        right:Notification<'T>  : bool
JScript supports the use of overloaded operators, but not the declaration of new ones.

参数

返回值

类型: System.Boolean
如果两个参数不相等,则为 true;否则为 false。

另请参阅

参考

通知<T> 类

System.Reactive 命名空间