DesignTimeVisibleAttribute.Equals(Object) 方法

定义

返回一个值,该值指示此实例是否与指定的对象相等。Returns a value that indicates whether this instance is equal to a specified 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

要与此实例或 null 引用( Visual Basic 中的 Nothing)进行比较的对象。An Object to compare with this instance or a null reference (Nothing in Visual Basic).

返回

如果 true 等于此实例的类型和值,则为 obj;否则为 falsetrue if obj equals the type and value of this instance; otherwise, false.

适用于

另请参阅