DataObjectAttribute.Equals(Object) 方法

定義

判斷這個 DataObjectAttribute 的執行個體是否符合另一個物件的模式。Determines whether this instance of DataObjectAttribute fits the pattern of another object.

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

與這個 DataObjectAttribute 執行個體相互比較的物件。An object to compare with this instance of DataObjectAttribute.

傳回

如果這個執行個體與 obj 參數所指定的執行個體相同,則為 true,否則為 falsetrue if this instance is the same as the instance specified by the obj parameter; otherwise, false.

備註

這個方法會判斷這個 DataObjectAttribute 的實例是否符合另一個物件的模式。This method determines whether this instance of DataObjectAttribute fits the pattern of another object.

適用於