Condividi tramite


Operatore Inequality

Determines whether two specified instances of Hierarchy have different values.

Spazio dei nomi  Microsoft.AnalysisServices.AdomdClient
Assembly:  Microsoft.AnalysisServices.AdomdClient (in Microsoft.AnalysisServices.AdomdClient.dll)

Sintassi

'Dichiarazione
Public Shared Operator <> ( _
    o1 As Hierarchy, _
    o2 As Hierarchy _
) As Boolean
'Utilizzo
Dim o1 As Hierarchy
Dim o2 As Hierarchy
Dim returnValue As Boolean

returnValue = (o1 <> o2)
public static bool operator !=(
    Hierarchy o1,
    Hierarchy o2
)
public:
static bool operator !=(
    Hierarchy^ o1, 
    Hierarchy^ o2
)
static let inline (<>)
        o1:Hierarchy * 
        o2:Hierarchy  : bool
JScript supporta l'utilizzo di operatori di overload , ma non la dichiarazione di nuovi operatori.

Valore restituito

Tipo: System. . :: . .Boolean
true if o1 and o2 represent different Hierarchy objects; false otherwise**.**