共用方式為


ParenthesizePropertyNameAttribute.Equals(Object) 方法

定義

將指定的物件與這個物件相比較,以測試二者是否相等。

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

參數

objo
Object

傳回

如果相等則為 true,否則為 false

適用於