EventToken.Equality(EventToken, EventToken) EventToken.Equality(EventToken, EventToken) EventToken.Equality(EventToken, EventToken) EventToken.Equality(EventToken, EventToken) Operator

定义

指示两个 EventToken 结构是否相等。Indicates whether two EventToken structures are equal.

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 EventToken EventToken EventToken

要与 b 进行比较的 EventTokenThe EventToken to compare to b.

b
EventToken EventToken EventToken EventToken

要与 a 进行比较的 EventTokenThe EventToken to compare to a.

返回

如果 true 等于 a,则为 b;否则为 falsetrue if a is equal to b; otherwise, false.

注解

此运算符的等效方法为EventToken.Equals(EventToken)The equivalent method for this operator is EventToken.Equals(EventToken).

适用于