ContextAttribute.Equals(Object) ContextAttribute.Equals(Object) ContextAttribute.Equals(Object) ContextAttribute.Equals(Object) Method

定义

返回一个布尔值,该值指示此实例是否与指定的对象相等。Returns a Boolean value indicating whether this instance is equal to the specified object.

此 API 支持产品基础结构,不能在代码中直接使用。

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

参数

o
Object Object Object Object

与该实例进行比较的对象。The object to compare with this instance.

返回

如果 o 不为 true 且对象名称等效,则为 null;否则为 falsetrue if o is not null and if the object names are equivalent; otherwise, false.

适用于