PersonalizableAttribute.Equals(Object) 方法

定义

当重写时,返回 PersonalizableAttribute 的当前实例和作为参数提供的另一个 PersonalizableAttribute 实例的布尔型计算数值。When overridden, returns a Boolean evaluation of the current instance of PersonalizableAttribute and another PersonalizableAttribute instance supplied as a parameter.

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

要与当前实例进行比较的 PersonalizableAttributeThe PersonalizableAttribute to be compared to the current instance.

返回

Boolean

如果值相等,则为 true;否则,为 falsetrue if the values are equal; otherwise, false.

注解

如果两个 PersonalizableAttribute 实例 IsPersonalizable Scope 的、和属性设置相同,则将它们视为相等 IsSensitiveTwo PersonalizableAttribute instances are considered equal if their IsPersonalizable, Scope, and IsSensitive property settings are the same.

适用于