Operatore DataEventColumnInfo.Key.Equality (Object, DataEventColumnInfo.Key)

Implements the operator == used to test equality between an instance of DataEventColumnInfo.Key and another object supplied by the obj parameter.

Spazio dei nomi  Microsoft.SqlServer.Management.XEvent
Assembly:  Microsoft.SqlServer.Management.XEvent (in Microsoft.SqlServer.Management.XEvent.dll)

Sintassi

'Dichiarazione
Public Shared Operator = ( _
    obj As Object, _
    rightOperand As DataEventColumnInfo.Key _
) As Boolean
'Utilizzo
Dim obj As Object 
Dim rightOperand As DataEventColumnInfo.Key 
Dim returnValue As Boolean 

returnValue = (obj = rightOperand)
public static bool operator ==(
    Object obj,
    DataEventColumnInfo.Key rightOperand
)
public:
static bool operator ==(
    Object^ obj, 
    DataEventColumnInfo.Key^ rightOperand
)
static let inline(=)
        obj:Object * 
        rightOperand:DataEventColumnInfo.Key  : bool
JScript supporta l'utilizzo di operatori di overload , ma non la dichiarazione di nuovi operatori.

Parametri

Valore restituito

Tipo: System.Boolean
Returns true if the specified object is equal to the right operand; otherwise, false.

Vedere anche

Riferimento

DataEventColumnInfo.Key Classe

Overload Equality

Spazio dei nomi Microsoft.SqlServer.Management.XEvent