Compartilhar via


Operador EvaluationDetail.Key.Equality (EvaluationDetail.Key, EvaluationDetail.Key)

Determines whether the objects identified by two EvaluationDetail.Key objects are the same.

Namespace:  Microsoft.SqlServer.Management.Dmf
Assembly:  Microsoft.SqlServer.Dmf (em Microsoft.SqlServer.Dmf.dll)

Sintaxe

'Declaração
Public Shared Operator = ( _
    leftOperand As EvaluationDetail.Key, _
    rightOperand As EvaluationDetail.Key _
) As Boolean
'Uso
Dim leftOperand As EvaluationDetail.Key 
Dim rightOperand As EvaluationDetail.Key 
Dim returnValue As Boolean 

returnValue = (leftOperand = rightOperand)
public static bool operator ==(
    EvaluationDetail.Key leftOperand,
    EvaluationDetail.Key rightOperand
)
public:
static bool operator ==(
    EvaluationDetail.Key^ leftOperand, 
    EvaluationDetail.Key^ rightOperand
)
static let inline(=)
        leftOperand:EvaluationDetail.Key * 
        rightOperand:EvaluationDetail.Key  : bool
JScript dá suporte ao uso de operadores sobrecarregados, mas não à declaração de operadores novos.

Parâmetros

Valor de retorno

Tipo: System.Boolean
A Boolean value that is true if the objects are the same, otherwise false.

Consulte também

Referência

EvaluationDetail.Key Classe

Sobrecarregado Equality

Namespace Microsoft.SqlServer.Management.Dmf