MethodInfo.Equality(MethodInfo, MethodInfo) 运算符

定义

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

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

参数

left
MethodInfo

要比较的第一个对象。

right
MethodInfo

要比较的第二个对象。

返回

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

适用于