共用方式為


MemberInfo.Equality(MemberInfo, MemberInfo) 運算子

定義

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

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

參數

left
MemberInfo

要和 right 比較的 MemberInfo

right
MemberInfo

要和 left 比較的 MemberInfo

傳回

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

適用於