Bagikan melalui


MethodBase.Equality(MethodBase, MethodBase) Operator

Definisi

Menunjukkan apakah dua MethodBase objek sama.

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

Parameter

left
MethodBase

Objek pertama yang dibandingkan.

right
MethodBase

Objek kedua untuk dibandingkan.

Mengembalikan

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

Berlaku untuk