Share via


MemberProperty.Equality Operator

Determines whether two instances of MemberProperty are equal.

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

Syntax

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

returnValue = (o1 = o2)
public static bool operator ==(
    MemberProperty o1,
    MemberProperty o2
)
public:
static bool operator ==(
    MemberProperty^ o1, 
    MemberProperty^ o2
)
static let inline (=)
        o1:MemberProperty * 
        o2:MemberProperty  : 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 MemberProperty; false otherwise.