Opérateur Volume.Key.Equality (Volume.Key, Volume.Key)
Determines whether the two key objects have the same value using specified operands.
Espace de noms : Microsoft.SqlServer.Management.Utility
Assembly : Microsoft.SqlServer.Management.Utility (en Microsoft.SqlServer.Management.Utility.dll)
Syntaxe
'Déclaration
Public Shared Operator = ( _
leftOperand As Volume.Key, _
rightOperand As Volume.Key _
) As Boolean
'Utilisation
Dim leftOperand As Volume.Key
Dim rightOperand As Volume.Key
Dim returnValue As Boolean
returnValue = (leftOperand = rightOperand)
public static bool operator ==(
Volume.Key leftOperand,
Volume.Key rightOperand
)
public:
static bool operator ==(
Volume.Key^ leftOperand,
Volume.Key^ rightOperand
)
static let inline(=)
leftOperand:Volume.Key *
rightOperand:Volume.Key : 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.Utility.Volume.Key
The operand object to the left of the equality operator.
- rightOperand
Type : Microsoft.SqlServer.Management.Utility.Volume.Key
The operand object to the right of the equality operator.
Valeur de retour
Type : System.Boolean
true if the objects are the same; otherwise, false.