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

适用于