Compartir a través de


Equality Operador

Determines whether two instances of Measure are equal.

Espacio de nombres:  Microsoft.AnalysisServices.AdomdClient
Ensamblado:  Microsoft.AnalysisServices.AdomdClient (en Microsoft.AnalysisServices.AdomdClient.dll)

Sintaxis

'Declaración
Public Shared Operator = ( _
    o1 As Measure, _
    o2 As Measure _
) As Boolean
'Uso
Dim o1 As Measure
Dim o2 As Measure
Dim returnValue As Boolean

returnValue = (o1 = o2)
public static bool operator ==(
    Measure o1,
    Measure o2
)
public:
static bool operator ==(
    Measure^ o1, 
    Measure^ o2
)
static let inline (=)
        o1:Measure * 
        o2:Measure  : bool
JScript admite el uso de operadores sobrecargados, pero no la declaración de otros nuevos.

Valor devuelto

Tipo: System. . :: . .Boolean
true if o1 and o2 represent the same Measure instance; false otherwise.