Opérateur SchemaNamedKey<T>.Equality
Compares two keys for value equality.
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 equal or both keys are nullune référence Null (Nothing dans Visual Basic); otherwise, false.