Sdílet prostřednictvím


Časové razítko<T>. Operátor rovnosti

Určuje, zda jsou první a druhý argument stejné.

Obor názvů:System.Reactive
Sestavení: System.Reactive (v System.Reactive.dll)

Syntaxe

'Declaration
Public Shared Operator = ( _
    first As Timestamped(Of T), _
    second As Timestamped(Of T) _
) As Boolean
'Usage
Dim first As Timestamped(Of T)
Dim second As Timestamped(Of T)
Dim returnValue As Boolean

returnValue = (first = second)
public static bool operator ==(
    Timestamped<T> first,
    Timestamped<T> second
)
public:
static bool operator ==(
    Timestamped<T> first, 
    Timestamped<T> second
)
static let inline (=)
        first:Timestamped<'T> * 
        second:Timestamped<'T>  : bool
JScript supports the use of overloaded operators, but not the declaration of new ones.

Parametry

Návratová hodnota

Typ: System.Boolean
true Pokud oba argumenty jsou rovny; jinak false.

Viz také

Reference

Struktura T> s časovým razítkem<

System.Reactive – obor názvů