Оператор XEStore.Key.Equality (Object, XEStore.Key)
Determines whether a XEStore.Key object is equal to another object.
Пространство имен: Microsoft.SqlServer.Management.XEvent
Сборка: Microsoft.SqlServer.Management.XEvent (в Microsoft.SqlServer.Management.XEvent.dll)
Синтаксис
'Декларация
Public Shared Operator = ( _
obj As Object, _
rightOperand As XEStore.Key _
) As Boolean
'Применение
Dim obj As Object
Dim rightOperand As XEStore.Key
Dim returnValue As Boolean
returnValue = (obj = rightOperand)
public static bool operator ==(
Object obj,
XEStore.Key rightOperand
)
public:
static bool operator ==(
Object^ obj,
XEStore.Key^ rightOperand
)
static let inline(=)
obj:Object *
rightOperand:XEStore.Key : bool
JScript поддерживает использование перегруженных операторов, но не объявление новых.
Параметры
- obj
Тип: System.Object
A System.Object to compare.
- rightOperand
Тип: Microsoft.SqlServer.Management.XEvent.XEStore.Key
A XEStore.Key object.
Возвращаемое значение
Тип: 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.