Assembly.Equals(Object) Assembly.Equals(Object) Assembly.Equals(Object) Assembly.Equals(Object) Method

定义

确定此程序集和指定的对象是否相等。Determines whether this assembly and the specified object are equal.

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.

返回

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

实现

注解

Equals方法执行引用相等性来确定测试是否当前实例和o是否相等。The Equals method performs a test for reference equality to determine whether the current instance and o are equal.

适用于