Opérateur SchemaNamedKey<T>.Inequality
Compares two keys for value inequality.
Espace de noms : Microsoft.SqlServer.Management.Sdk.Sfc
Assembly : Microsoft.SqlServer.Management.Sdk.Sfc (en Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Syntaxe
'Déclaration
Public Shared Operator <> ( _
leftOperand As SchemaNamedKey(Of T), _
rightOperand As SchemaNamedKey(Of T) _
) As Boolean
'Utilisation
Dim leftOperand As SchemaNamedKey(Of T)
Dim rightOperand As SchemaNamedKey(Of T)
Dim returnValue As Boolean
returnValue = (leftOperand <> rightOperand)
public static bool operator !=(
SchemaNamedKey<T> leftOperand,
SchemaNamedKey<T> rightOperand
)
public:
static bool operator !=(
SchemaNamedKey<T>^ leftOperand,
SchemaNamedKey<T>^ rightOperand
)
static let inline(<>)
leftOperand:SchemaNamedKey<'T> *
rightOperand:SchemaNamedKey<'T> : bool
JScript prend en charge l'utilisation d'opérateurs surchargés, mais pas la déclaration de nouveaux opérateurs.
Paramètres
- leftOperand
Type : Microsoft.SqlServer.Management.Sdk.Sfc.SchemaNamedKey<T>
The first key to compare.
- rightOperand
Type : Microsoft.SqlServer.Management.Sdk.Sfc.SchemaNamedKey<T>
The second key to compare.
Valeur de retour
Type : System.Boolean
true if both keys are not equal or only one is nullune référence Null (Nothing dans Visual Basic); otherwise, false.