System.Reflection.EventInfo.GetRemoveMethod Method

Returns the method used to remove an event handler delegate from the event source.

Syntax

public 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 equivalent to EventInfo.GetRemoveMethod(false).

Note:

Typically, the method has the following signature format:

remove_<EventName>(<EventHandlerType> handler)

Requirements

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