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

Determines whether an ActionInfo.Key object is equal to a System.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 ActionInfo.Key _
) As Boolean
'Utilizzo
Dim obj As Object 
Dim rightOperand As ActionInfo.Key 
Dim returnValue As Boolean 

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

Parametri

Valore restituito

Tipo: System.Boolean
A Boolean value that specifies the outcome of performing an equality operation on two objects. If True , the two objects are equal; otherwise False.

Vedere anche

Riferimento

ActionInfo.Key Classe

Overload Equality

Spazio dei nomi Microsoft.SqlServer.Management.XEvent