Message.Equals(Object) 方法

定義

判斷指定的物件是否等於目前的物件。Determines whether the specified object is equal to the current object.

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

參數

o
Object

要與目前物件比較的物件。The object to compare with the current object.

傳回

Boolean

如果指定的物件等於目前的物件,則為 true;否則為 falsetrue if the specified object is equal to the current object; otherwise, false.

適用於