Freigeben über


Equality-Operator

Determines whether two instances of Level are equal.

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

Syntax

'Declaration
Public Shared Operator = ( _
    o1 As Level, _
    o2 As Level _
) As Boolean
'Usage
Dim o1 As Level
Dim o2 As Level
Dim returnValue As Boolean

returnValue = (o1 = o2)
public static bool operator ==(
    Level o1,
    Level o2
)
public:
static bool operator ==(
    Level^ o1, 
    Level^ o2
)
static let inline (=)
        o1:Level * 
        o2:Level  : bool
JScript unterstützt die Verwendung überladener Operatoren, aber nicht die Deklaration neuer Operatoren.

Rückgabewert

Typ: System. . :: . .Boolean
true if o1 and o2 represent the same Level; false otherwise.