MergablePropertyAttribute.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

如果 true 与此实例相等,则为 obj;否则为 falsetrue if obj is equal to this instance; otherwise, false.

适用于