EventPattern<TEventArgs>.Equality Operator

Compare two objects to see if they are identical.

Namespace:  System.Reactive
Assembly:  System.Reactive (in System.Reactive.dll)

Syntax

'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.

Parameters

Return Value

Type: System.Boolean
Returns Boolean.

See Also

Reference

EventPattern<TEventArgs> Class

System.Reactive Namespace