Retrieves the MethodInfo object for "removing" a method of the event represented by this instance with default properties.
[Visual Basic] Overloads Public Function GetRemoveMethod() As MethodInfo [C#] public MethodInfo GetRemoveMethod(); [C++] public: MethodInfo* GetRemoveMethod(); [JScript] public function GetRemoveMethod() : MethodInfo;
Retrieves a MethodInfo object that you call to unsubscribe to an event.
The GetRemoveMethod method will return the unsubscribed method. The "remove" method is used to add an even-handler delegate to the invocation list of an event source.
Typically, the method has the following signature:
public void AddOn<EventName>(<EventHandlerType>hander)
EventInfo Class | EventInfo Members | System.Reflection Namespace | EventInfo.GetRemoveMethod Overload List | MethodInfo