_ConstructorInfo.Equals(Object) _ConstructorInfo.Equals(Object) _ConstructorInfo.Equals(Object) _ConstructorInfo.Equals(Object) Method

定义

为 COM 对象提供对 Equals(Object) 方法的版本无关的访问。Provides COM objects with version-independent access to the Equals(Object) method.

public:
 bool Equals(System::Object ^ other);
public bool Equals (object other);
abstract member Equals : obj -> bool
Public Function Equals (other As Object) As Boolean

参数

other
Object Object Object Object

要与当前的 Object 进行比较的 ObjectThe Object to compare with the current Object.

返回

如果指定的 true 等于当前的 Object,则为 Object;否则为 falsetrue if the specified Object is equal to the current Object; otherwise, false.

注解

此方法用于访问托管类到从非托管代码,不应从托管代码调用。This method is for access to managed classes from unmanaged code, and should not be called from managed code.

Equals方法确定是否指定Object是否等于当前ObjectThe Equals method determines whether the specified Object is equal to the current Object.

适用于