Bagikan melalui


MethodInfo.Equality(MethodInfo, MethodInfo) Operator

Definisi

Menunjukkan apakah dua MethodInfo objek sama.

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

Parameter

left
MethodInfo

Objek pertama yang dibandingkan.

right
MethodInfo

Objek kedua untuk dibandingkan.

Mengembalikan

true jika left sama dengan right; jika tidak, false.

Berlaku untuk