Operatore XEStore.Key.Equality (XEStore.Key, Object)
Determines whether a XEStore.Key object is equal to another object.
Spazio dei nomi Microsoft.SqlServer.Management.XEvent
Assembly: Microsoft.SqlServer.Management.XEvent (in Microsoft.SqlServer.Management.XEvent.dll)
Sintassi
'Dichiarazione
Public Shared Operator = ( _
leftOperand As XEStore.Key, _
obj As Object _
) As Boolean
'Utilizzo
Dim leftOperand As XEStore.Key
Dim obj As Object
Dim returnValue As Boolean
returnValue = (leftOperand = obj)
public static bool operator ==(
XEStore.Key leftOperand,
Object obj
)
public:
static bool operator ==(
XEStore.Key^ leftOperand,
Object^ obj
)
static let inline(=)
leftOperand:XEStore.Key *
obj:Object : bool
JScript supporta l'utilizzo di operatori di overload , ma non la dichiarazione di nuovi operatori.
Parametri
- leftOperand
Tipo: Microsoft.SqlServer.Management.XEvent.XEStore.Key
A XEStore.Key object.
- obj
Tipo: System.Object
A System.Object to compare.
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.