แก้ไข

แชร์ผ่าน


MethodToken.Equality(MethodToken, MethodToken) Operator

Definition

Indicates whether two MethodToken structures are equal.

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

Parameters

a
MethodToken

The MethodToken to compare to b.

b
MethodToken

The MethodToken to compare to a.

Returns

true if a is equal to b; otherwise, false.

Remarks

The equivalent method for this operator is MethodToken.Equals(MethodToken).

Applies to