EventPattern<TEventArgs>. Opérateur d’égalité
Comparez deux objets pour voir s’ils sont identiques.
Namespace:System.Reactive
Assemblée: System.Reactive (en System.Reactive.dll)
Syntaxe
'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.
Paramètres
- first
Type : System.Reactive.EventPattern<TEventArgs>
Premier objet à comparer.
- second
Type : System.Reactive.EventPattern<TEventArgs>
Deuxième objet à comparer.
Valeur de retour
Type : System.Boolean
Retourne booléen.