MemberRelationship.Inequality(MemberRelationship, MemberRelationship) 运算符

定义

测试两个指定的 MemberRelationship 结构是否不同。

public:
 static bool operator !=(System::ComponentModel::Design::Serialization::MemberRelationship left, System::ComponentModel::Design::Serialization::MemberRelationship right);
public static bool operator != (System.ComponentModel.Design.Serialization.MemberRelationship left, System.ComponentModel.Design.Serialization.MemberRelationship right);
static member op_Inequality : System.ComponentModel.Design.Serialization.MemberRelationship * System.ComponentModel.Design.Serialization.MemberRelationship -> bool
Public Shared Operator != (left As MemberRelationship, right As MemberRelationship) As Boolean

参数

left
MemberRelationship

不等运算符左侧的 MemberRelationship 结构。

right
MemberRelationship

不等运算符右侧的 MemberRelationship 结构。

返回

如果这两个 MemberRelationship 结构不同,则此运算符返回 true;否则返回 false

注解

此运算符 MemberRelationship.Equals的等效方法是 。

适用于

另请参阅