EventPattern<TEventArgs>. Operátor rovnosti
Porovnejte dva objekty a zjistěte, jestli jsou identické.
Obor názvů:System.Reactive
Sestavení: System.Reactive (v 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.
Parametry
- První
Typ: System.Reactive.EventPattern<TEventArgs>
První porovnávaný objekt.
- second
Typ: System.Reactive.EventPattern<TEventArgs>
Druhý objekt, který se má porovnávat.
Návratová hodnota
Typ: System.Boolean
Vrátí logickou hodnotu.