Freigeben über


Inequality-Operator

Determines whether two specified instances of Dimension have different values.

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

Syntax

'Declaration
Public Shared Operator <> ( _
    o1 As Dimension, _
    o2 As Dimension _
) As Boolean
'Usage
Dim o1 As Dimension
Dim o2 As Dimension
Dim returnValue As Boolean

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