Compartilhar via


Operador Unit.Equality

Indica se o primeiro e o segundo argumentos são iguais.

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

Sintaxe

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

Parâmetros

Valor Retornado

Tipo: System.Boolean
Sempre retorna true.

Consulte Também

Referência

Estrutura de Unidade

System.Reactive Namespace