Share via


LevelProperty.Equality Operator

Determines whether two LevelProperty objects are equal.

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

Syntax

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

returnValue = (o1 = o2)
public static bool operator ==(
    LevelProperty o1,
    LevelProperty o2
)
public:
static bool operator ==(
    LevelProperty^ o1, 
    LevelProperty^ o2
)
static let inline (=)
        o1:LevelProperty * 
        o2:LevelProperty  : bool
JScript supports the use of overloaded operators, but not the declaration of new ones.

Return Value

Type: System.Boolean
true if o1 and o2 represent the same LevelProperty; false otherwise.