EventToken.Equality(EventToken, EventToken) 操作员

定义

指示两个 EventToken 结构是否相等。

public:
 static bool operator ==(System::Reflection::Emit::EventToken a, System::Reflection::Emit::EventToken b);
public static bool operator == (System.Reflection.Emit.EventToken a, System.Reflection.Emit.EventToken b);
static member ( = ) : System.Reflection.Emit.EventToken * System.Reflection.Emit.EventToken -> bool
Public Shared Operator == (a As EventToken, b As EventToken) As Boolean

参数

a
EventToken

要与 b 进行比较的 EventToken

b
EventToken

要与 a 进行比较的 EventToken

返回

如果 true 等于 a,则为 b;否则为 false

注解

此运算符 EventToken.Equals(EventToken)的等效方法是 。

适用于