ComplexBindingPropertiesAttribute.Equals(Object) 方法

定義

判斷指定的 Object 和目前的 ComplexBindingPropertiesAttribute 執行個體是否相等。Determines whether the specified Object is equal to the current ComplexBindingPropertiesAttribute instance.

public:
 override bool Equals(System::Object ^ obj);
public override bool Equals (object obj);
override this.Equals : obj -> bool
Public Overrides Function Equals (obj As Object) As Boolean

參數

obj
Object

要與目前 Object 執行個體比較的 ComplexBindingPropertiesAttributeThe Object to compare with the current ComplexBindingPropertiesAttribute instance

傳回

Boolean

如果物件和目前執行個體相等,則為 true,否則為 false,表示不相等。true if the object is equal to the current instance; otherwise, false, indicating they are not equal.

備註

如果 obj 的類型為 ComplexBindingPropertiesAttribute,而且兩個物件的 DataSourceDataMember 屬性相等,則 Equals 方法會傳回 trueThe Equals method returns true if obj is of type ComplexBindingPropertiesAttribute and the DataSource and DataMember properties of the two objects are equal.

適用於

另請參閱