Operatore NamedKey<T>.Inequality

Indicates whether the two keys are not equal.

Spazio dei nomi  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Sintassi

'Dichiarazione
Public Shared Operator <> ( _
    leftOperand As NamedKey(Of T), _
    rightOperand As NamedKey(Of T) _
) As Boolean
'Utilizzo
Dim leftOperand As NamedKey(Of T)
Dim rightOperand As NamedKey(Of T)
Dim returnValue As Boolean 

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

Parametri

Valore restituito

Tipo: System.Boolean
True if both keys are not equal or only one is null; otherwise, false.

Vedere anche

Riferimento

NamedKey<T> Classe

Spazio dei nomi Microsoft.SqlServer.Management.Sdk.Sfc