MemberRelationship.Inequality(MemberRelationship, MemberRelationship) 演算子

定義

指定した 2 つの MemberRelationship 構造体が異なるかどうかをテストします。Tests whether two specified MemberRelationship structures are different.

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 構造体。The MemberRelationship structure that is to the left of the inequality operator.

right
MemberRelationship

非等値演算子の右側に表示される MemberRelationship 構造体。The MemberRelationship structure that is to the right of the inequality operator.

戻り値

2 つの true 構造体が異なる場合、この演算子は MemberRelationship を返します。それ以外の場合は false を返します。This operator returns true if the two MemberRelationship structures are different; otherwise, false.

注釈

この演算子の同等のメソッドは MemberRelationship.Equalsです。The equivalent method for this operator is MemberRelationship.Equals.

適用対象

こちらもご覧ください