GetRemoveMethod Method

EventInfo.GetRemoveMethod 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 remove an event-handler delegate from 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 GetRemoveMethod() Returns the method that is used to remove an event-handler delegate from the event source.
Public method GetRemoveMethod(Boolean) When overridden in a derived class, retrieves the MethodInfo object for removing a method of the event, specifying whether to return non-public methods.
Top

Show:
© 2017 Microsoft