System.Runtime.InteropServices._EventInfo.Equals Method

Provides COM objects with version-independent access to the object.Equals(object) method.

Syntax

public bool Equals (object other)

Parameters

other
The object to compare with the current object.

Returns

true if the specified object is equal to the current object; otherwise, false.

Remarks

This method is for access to managed classes from unmanaged code and should not be called from managed code.

The object.Equals(object) method determines whether the specified object is equal to the current object.

Requirements

Namespace: System.Runtime.InteropServices
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0