共用方式為


FieldInfo.Equality(FieldInfo, FieldInfo) 運算子

定義

表示兩個 FieldInfo 物件是否相等。

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

參數

left
FieldInfo

要比較的第一個物件。

right
FieldInfo

要比較的第二個物件。

傳回

如果 true 等於 left,則為 right,否則為 false

適用於