Operador Volume.Key.Equality (Volume.Key, Volume.Key)
Determines whether the two key objects have the same value using specified operands.
Namespace: Microsoft.SqlServer.Management.Utility
Assembly: Microsoft.SqlServer.Management.Utility (em Microsoft.SqlServer.Management.Utility.dll)
Sintaxe
'Declaração
Public Shared Operator = ( _
leftOperand As Volume.Key, _
rightOperand As Volume.Key _
) As Boolean
'Uso
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 dá suporte ao uso de operadores sobrecarregados, mas não à declaração de operadores novos.
Parâmetros
- 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.
Valor de retorno
Tipo: System.Boolean
true if the objects are the same; otherwise, false.