Freigeben über


NamedKey<T>.Inequality-Operator

Indicates whether the two keys are not equal.

Namespace:  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Syntax

'Declaration
Public Shared Operator <> ( _
    leftOperand As NamedKey(Of T), _
    rightOperand As NamedKey(Of T) _
) As Boolean
'Usage
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 unterstützt die Verwendung überladener Operatoren, aber nicht die Deklaration neuer Operatoren.

Parameter

Rückgabewert

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

Siehe auch

Verweis

NamedKey<T> Klasse

Microsoft.SqlServer.Management.Sdk.Sfc-Namespace