语言

EventInfo.Key.Equality 操作员

定义

重载

名称 说明
Equality(EventInfo+Key, EventInfo+Key)

实现运算符 ==。

Equality(EventInfo+Key, Object)

实现运算符 ==。

Equality(Object, EventInfo+Key)

实现运算符 ==。

Equality(EventInfo+Key, EventInfo+Key)

实现运算符 ==。

public static bool operator ==(Microsoft.SqlServer.Management.XEvent.EventInfo.Key leftOperand, Microsoft.SqlServer.Management.XEvent.EventInfo.Key rightOperand);
static member ( = ) : Microsoft.SqlServer.Management.XEvent.EventInfo.Key * Microsoft.SqlServer.Management.XEvent.EventInfo.Key -> bool
Public Shared Operator == (leftOperand As EventInfo.Key, rightOperand As EventInfo.Key) As Boolean

参数

leftOperand
EventInfo.Key

左操作数。

rightOperand
EventInfo.Key

右操作数。

返回

运算符的结果。

适用于

Equality(EventInfo+Key, Object)

实现运算符 ==。

public static bool operator ==(Microsoft.SqlServer.Management.XEvent.EventInfo.Key leftOperand, object obj);
static member ( = ) : Microsoft.SqlServer.Management.XEvent.EventInfo.Key * obj -> bool
Public Shared Operator == (leftOperand As EventInfo.Key, obj As Object) As Boolean

参数

leftOperand
EventInfo.Key

左操作数。

obj
Object

obj。

返回

运算符的结果。

适用于

Equality(Object, EventInfo+Key)

实现运算符 ==。

public static bool operator ==(object obj, Microsoft.SqlServer.Management.XEvent.EventInfo.Key rightOperand);
static member ( = ) : obj * Microsoft.SqlServer.Management.XEvent.EventInfo.Key -> bool
Public Shared Operator == (obj As Object, rightOperand As EventInfo.Key) As Boolean

参数

obj
Object

obj。

rightOperand
EventInfo.Key

右操作数。

返回

运算符的结果。

适用于