Compartilhar via


Operador Equality

Determines whether two specified instances of Kpi are equal.

Namespace:  Microsoft.AnalysisServices.AdomdClient
Assembly:  Microsoft.AnalysisServices.AdomdClient (em Microsoft.AnalysisServices.AdomdClient.dll)

Sintaxe

'Declaração
Public Shared Operator = ( _
    o1 As Kpi, _
    o2 As Kpi _
) As Boolean
'Uso
Dim o1 As Kpi
Dim o2 As Kpi
Dim returnValue As Boolean

returnValue = (o1 = o2)
public static bool operator ==(
    Kpi o1,
    Kpi o2
)
public:
static bool operator ==(
    Kpi^ o1, 
    Kpi^ o2
)
static let inline (=)
        o1:Kpi * 
        o2:Kpi  : bool
JScript dá suporte ao uso de operadores sobrecarregados, mas não à declaração de operadores novos.

Valor de retorno

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