Operatore Equality (Volume.Key, Volume.Key)
Determines whether the two key objects have the same value using specified operands.
Spazio dei nomi Microsoft.SqlServer.Management.Utility
Assembly: Microsoft.SqlServer.Management.Utility (in Microsoft.SqlServer.Management.Utility.dll)
Sintassi
'Dichiarazione
Public Shared Operator = ( _
leftOperand As Volume..::..Key, _
rightOperand As Volume..::..Key _
) As Boolean
'Utilizzo
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 supporta l'utilizzo di operatori di overload , ma non la dichiarazione di nuovi operatori.
Parametri
- leftOperand
Tipo: Microsoft.SqlServer.Management.Utility. . :: . .Volume. . :: . .Key
The operand object to the left of the equality operator.
- rightOperand
Tipo: Microsoft.SqlServer.Management.Utility. . :: . .Volume. . :: . .Key
The operand object to the right of the equality operator.
Valore restituito
Tipo: System. . :: . .Boolean
true if the objects are the same; otherwise, false.
Vedere anche