Retrieves the MethodInfo object for "raising" a method of the event represented by this instance with the given parameter count and modifier bit map.
[Visual Basic] Overloads MustOverride Public Function GetRaiseMethod( _ ByVal nonPublic As Boolean _ ) As MethodInfo [C#] public abstract MethodInfo GetRaiseMethod( bool nonPublic ); [C++] public: virtual MethodInfo* GetRaiseMethod( bool nonPublic ) = 0; [JScript] public abstract function GetRaiseMethod( nonPublic : Boolean ) : MethodInfo;
Retrieves a MethodInfo object that you call to unsubscribe to an event.
Read-only.The GetRemoveMethod method will return the unsubscribed method as a Boolean.
Typically, the method has the following signature:public void AddOn<EventName>(<EventHandlerType>hander)
EventInfo Class | EventInfo Members | System.Reflection Namespace | EventInfo.GetRaiseMethod Overload List | MethodInfo