Operador NamedDomainKey<T>.Equality
Returns whether the two keys are equal.
Namespace: Microsoft.SqlServer.Management.Sdk.Sfc
Assembly: Microsoft.SqlServer.Management.Sdk.Sfc (em Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Sintaxe
'Declaração
Public Shared Operator = ( _
leftOperand As NamedDomainKey(Of T), _
rightOperand As NamedDomainKey(Of T) _
) As Boolean
'Uso
Dim leftOperand As NamedDomainKey(Of T)
Dim rightOperand As NamedDomainKey(Of T)
Dim returnValue As Boolean
returnValue = (leftOperand = rightOperand)
public static bool operator ==(
NamedDomainKey<T> leftOperand,
NamedDomainKey<T> rightOperand
)
public:
static bool operator ==(
NamedDomainKey<T>^ leftOperand,
NamedDomainKey<T>^ rightOperand
)
static let inline(=)
leftOperand:NamedDomainKey<'T> *
rightOperand:NamedDomainKey<'T> : bool
JScript dá suporte ao uso de operadores sobrecarregados, mas não à declaração de operadores novos.
Parâmetros
- leftOperand
Tipo: Microsoft.SqlServer.Management.Sdk.Sfc.NamedDomainKey<T>
A key to compare.
- rightOperand
Tipo: Microsoft.SqlServer.Management.Sdk.Sfc.NamedDomainKey<T>
A key to compare.
Valor de retorno
Tipo: System.Boolean
True if the two keys are equal; otherwise, false.