MethodBase.Equality(MethodBase, MethodBase) 操作员

定义

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

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

参数

left
MethodBase

要比较的第一个对象。

right
MethodBase

要比较的第二个对象。

返回

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

适用于