Compartilhar via


EventPattern<TEventArgs>. Operador de igualdade

Compare dois objetos para ver se eles são idênticos.

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

Sintaxe

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

Parâmetros

Valor Retornado

Tipo: System.Boolean
Retorna booliano.

Consulte Também

Referência

Classe EventPattern<TEventArgs>

System.Reactive Namespace