Delen via


Axis.Equality Operator

Determines whether two specified instances of Axis are equal.

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

Syntax

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

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