Compartilhar via


Operador Equality

Determines whether two specified instances of CellProperty are equal.

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

Sintaxe

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

returnValue = (o1 = o2)
public static bool operator ==(
    CellProperty o1,
    CellProperty o2
)
public:
static bool operator ==(
    CellProperty^ o1, 
    CellProperty^ o2
)
static let inline (=)
        o1:CellProperty * 
        o2:CellProperty  : 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 o1 and o2 represent the same CellProperty, false otherwise.