Retrieves the MethodInfo object for "add" method of the event represented by this instance with default properties.
[Visual Basic] Overloads Public Function GetAddMethod() As MethodInfo [C#] public MethodInfo GetAddMethod(); [C++] public: MethodInfo* GetAddMethod(); [JScript] public function GetAddMethod() : MethodInfo;
Returns the event subscribe method.
The GetAddMethod Initializes and adds the event subscribe method. The "add" method is used to add an even-handler delegate to the invocation list of an event source.
Typically, the method has hte following signature:
public void AddOn<EventName>(<EventHandlerType>hander)
EventInfo Class | EventInfo Members | System.Reflection Namespace | EventInfo.GetAddMethod Overload List | MethodInfo