共用方式為


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的對等方法是 。

適用於

另請參閱