EventInfo.Equality(EventInfo, EventInfo) 操作员

定义

指示两个 EventInfo 对象是否相等。

public:
 static bool operator ==(System::Reflection::EventInfo ^ left, System::Reflection::EventInfo ^ right);
public static bool operator == (System.Reflection.EventInfo? left, System.Reflection.EventInfo? right);
public static bool operator == (System.Reflection.EventInfo left, System.Reflection.EventInfo right);
static member ( = ) : System.Reflection.EventInfo * System.Reflection.EventInfo -> bool
Public Shared Operator == (left As EventInfo, right As EventInfo) As Boolean

参数

left
EventInfo

要比较的第一个对象。

right
EventInfo

要比较的第二个对象。

返回

如果 true 等于 left,则为 right;否则为 false

适用于