共用方式為


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 命名空間