System.Runtime.InteropServices._EventInfo.GetRemoveMethod Method

Provides COM objects with version-independent access to the System.Reflection.EventInfo.GetRemoveMethod method.

Syntax

public System.Reflection.MethodInfo GetRemoveMethod ()

Returns

A System.Reflection.MethodInfo object representing the method used to remove an event-handler delegate from the event source.

Remarks

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

The System.Reflection.EventInfo.GetRemoveMethod method returns the method used to remove an event-handler delegate from the event source.

Requirements

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