GetAddMethod Method

EventInfo.GetAddMethod Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Returns the method that is used to add an event-handler delegate to the event source.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Public method GetAddMethod() Returns the method that is used to add an event-handler delegate to the event source.
Public method GetAddMethod(Boolean) When overridden in a derived class, returns the method that is used to add an event-handler delegate to the event source, specifying whether to return the method if the current event is non-public.
Top

Show:
© 2017 Microsoft