Bagikan melalui


MemberInfo.Equality(MemberInfo, MemberInfo) Operator

Definisi

Menunjukkan apakah dua MemberInfo objek sama.

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

Parameter

left
MemberInfo

untuk MemberInfo membandingkan rightdengan .

right
MemberInfo

untuk MemberInfo membandingkan leftdengan .

Mengembalikan

true jika left sama dengan right; jika tidak false.

Berlaku untuk