Freigeben über


NamedDomainKey<T>.Equality-Operator

Returns whether the two keys are equal.

Namespace:  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Syntax

'Declaration
Public Shared Operator = ( _
    leftOperand As NamedDomainKey(Of T), _
    rightOperand As NamedDomainKey(Of T) _
) As Boolean
'Usage
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 unterstützt die Verwendung überladener Operatoren, aber nicht die Deklaration neuer Operatoren.

Parameter

Rückgabewert

Typ: System.Boolean
True if the two keys are equal; otherwise, false.

Siehe auch

Verweis

NamedDomainKey<T> Klasse

Microsoft.SqlServer.Management.Sdk.Sfc-Namespace