Freigeben über


Equality-Operator

Determines whether two specified instances of Position are equal.

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

Syntax

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

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