_EventInfo.Equals(Object) 方法

定义

为 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 进行比较的 ObjectThe Object to compare with the current Object.

返回

Boolean

如果指定的 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.

适用于