Udostępnij za pośrednictwem


Unit.Equality, operator

Wskazuje, czy pierwsze i drugie argumenty są równe.

Przestrzeń nazw:System.Reaktywna
Zestawu: System.Reaktywny (w System.Reactive.dll)

Składnia

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

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

Parametry

Wartość zwracana

Typ: System.Boolean
Zawsze zwraca wartość true.

Zobacz też

Odwołanie

Struktura jednostki

Przestrzeń nazw System.Reaktywna