EventPattern<TEventArgs>。相等运算符

比较两个 对象以查看它们是否相同。

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

语法

'Declaration
Public Shared Operator = ( _
    first As EventPattern(Of TEventArgs), _
    second As EventPattern(Of TEventArgs) _
) As Boolean
'Usage
Dim first As EventPattern(Of TEventArgs)
Dim second As EventPattern(Of TEventArgs)
Dim returnValue As Boolean

returnValue = (first = second)
public static bool operator ==(
    EventPattern<TEventArgs> first,
    EventPattern<TEventArgs> second
)
public:
static bool operator ==(
    EventPattern<TEventArgs>^ first, 
    EventPattern<TEventArgs>^ second
)
static let inline (=)
        first:EventPattern<'TEventArgs> * 
        second:EventPattern<'TEventArgs>  : bool
JScript supports the use of overloaded operators, but not the declaration of new ones.

参数

返回值

类型: System.Boolean
返回布尔值。

另请参阅

参考

EventPattern<TEventArgs> 类

System.Reactive 命名空间