Bagikan melalui


FieldInfo.Equality(FieldInfo, FieldInfo) Operator

Definisi

Menunjukkan apakah dua FieldInfo objek sama.

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

Parameter

left
FieldInfo

Objek pertama yang dibandingkan.

right
FieldInfo

Objek kedua untuk dibandingkan.

Mengembalikan

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

Berlaku untuk