Opérateur NamedKey<T>.Equality
Indicates whether the two keys are equal.
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 NamedKey(Of T), _
rightOperand As NamedKey(Of T) _
) As Boolean
'Utilisation
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 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.NamedKey<T>
The first key to compare.
- rightOperand
Type : Microsoft.SqlServer.Management.Sdk.Sfc.NamedKey<T>
The second key to compare.
Valeur de retour
Type : System.Boolean
True if both keys are equal or are both null; otherwise, false.