Operador SchemaNamedKey<T>.Equality
Compares two keys for value equality.
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 SchemaNamedKey(Of T), _
rightOperand As SchemaNamedKey(Of T) _
) As Boolean
'Uso
Dim leftOperand As SchemaNamedKey(Of T)
Dim rightOperand As SchemaNamedKey(Of T)
Dim returnValue As Boolean
returnValue = (leftOperand = rightOperand)
public static bool operator ==(
SchemaNamedKey<T> leftOperand,
SchemaNamedKey<T> rightOperand
)
public:
static bool operator ==(
SchemaNamedKey<T>^ leftOperand,
SchemaNamedKey<T>^ rightOperand
)
static let inline(=)
leftOperand:SchemaNamedKey<'T> *
rightOperand:SchemaNamedKey<'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.SchemaNamedKey<T>
The first key to compare.
- rightOperand
Tipo: Microsoft.SqlServer.Management.Sdk.Sfc.SchemaNamedKey<T>
The second key to compare.
Valor de retorno
Tipo: System.Boolean
true if both keys are equal or both keys are nulluma referência nula (Nothing no Visual Basic); otherwise, false.