共用方式為


MemberRelationship.Equality(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 ( = ) : 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的對等方法是 。

適用於

另請參閱