Partager via


Inequality opérateur

Determines whether two specified instances of NamedSet have different values.

Espace de noms :  Microsoft.AnalysisServices.AdomdClient
Assembly :  Microsoft.AnalysisServices.AdomdClient (dans Microsoft.AnalysisServices.AdomdClient.dll)

Syntaxe

'Déclaration
Public Shared Operator <> ( _
    o1 As NamedSet, _
    o2 As NamedSet _
) As Boolean
'Utilisation
Dim o1 As NamedSet
Dim o2 As NamedSet
Dim returnValue As Boolean

returnValue = (o1 <> o2)
public static bool operator !=(
    NamedSet o1,
    NamedSet o2
)
public:
static bool operator !=(
    NamedSet^ o1, 
    NamedSet^ o2
)
static let inline (<>)
        o1:NamedSet * 
        o2:NamedSet  : bool
JScript prend en charge l'utilisation d'opérateurs surchargés, mais pas la déclaration de nouveaux opérateurs.

Valeur de retour

Type : System. . :: . .Boolean
true if o1 and o2 represent different NamedSet objects; false otherwise.