BrowsableAttribute.Equals(Object) 方法

定義

指示這個執行個體和指定的物件是否相等。Indicates whether this instance and a specified object are equal.

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

參數

obj
Object

要比較的另一個物件。Another object to compare to.

傳回

Boolean

如果 obj 等於這個執行個體則為 true,否則為 falsetrue if obj is equal to this instance; otherwise, false.

適用於