共用方式為


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

適用於