共用方式為


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

適用於