MemberInfo.Equality(MemberInfo, MemberInfo) MemberInfo.Equality(MemberInfo, MemberInfo) MemberInfo.Equality(MemberInfo, MemberInfo) MemberInfo.Equality(MemberInfo, MemberInfo) Operator

定义

指示两个 MemberInfo 对象是否相等。Indicates whether two MemberInfo objects are equal.

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 MemberInfo MemberInfo MemberInfo

要与 right 进行比较的 MemberInfoThe MemberInfo to compare to right.

right
MemberInfo MemberInfo MemberInfo MemberInfo

要与 left 进行比较的 MemberInfoThe MemberInfo to compare to left.

返回

如果 left 等于 right,则为 true;否则为 falsetrue if left is equal to right; otherwise false.

适用于