MemberInfo.Inequality(MemberInfo, MemberInfo) MemberInfo.Inequality(MemberInfo, MemberInfo) MemberInfo.Inequality(MemberInfo, MemberInfo) MemberInfo.Inequality(MemberInfo, MemberInfo) Operator

定义

指示两个 MemberInfo 对象是否不相等。Indicates whether two MemberInfo objects are not 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 op_Inequality : 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 not equal to right; otherwise false.

适用于