This documentation is archived and is not being maintained.

EventInfo.GetRaiseMethod Method

Returns the method that is called when the event is raised.

Overload List

Returns the method that is called when the event is raised.

Supported by the .NET Compact Framework.

[Visual Basic] Overloads Public Function GetRaiseMethod() As MethodInfo
[C#] public MethodInfo GetRaiseMethod();
[C++] public: MethodInfo* GetRaiseMethod();
[JScript] public function GetRaiseMethod() : MethodInfo;

When overridden in a derived class, returns the method that is called when the event is raised, specifying whether to return non-public methods.

Supported by the .NET Compact Framework.

[Visual Basic] Overloads Public MustOverride Function GetRaiseMethod(Boolean) As MethodInfo
[C#] public abstract MethodInfo GetRaiseMethod(bool);
[C++] public: virtual MethodInfo* GetRaiseMethod(bool) = 0;
[JScript] public abstract function GetRaiseMethod(Boolean) : MethodInfo;

See Also

EventInfo Class | EventInfo Members | System.Reflection Namespace

Show: