WeakEventManager<TEventSource,TEventArgs>.RemoveHandler(TEventSource, String, EventHandler<TEventArgs>) WeakEventManager<TEventSource,TEventArgs>.RemoveHandler(TEventSource, String, EventHandler<TEventArgs>) WeakEventManager<TEventSource,TEventArgs>.RemoveHandler(TEventSource, String, EventHandler<TEventArgs>) WeakEventManager<TEventSource,TEventArgs>.RemoveHandler(TEventSource, String, EventHandler<TEventArgs>) Method

Definition

Entfernt den angegebenen Ereignishandler aus dem angegebenen Ereingis.Removes the specified event handler from the specified event.

public:
 static void RemoveHandler(TEventSource source, System::String ^ eventName, EventHandler<TEventArgs> ^ handler);
public static void RemoveHandler (TEventSource source, string eventName, EventHandler<TEventArgs> handler);
static member RemoveHandler : 'EventSource * string * EventHandler<'EventArgs (requires 'EventArgs :> EventArgs)> -> unit
Public Shared Sub RemoveHandler (source As TEventSource, eventName As String, handler As EventHandler(Of TEventArgs))

Parameter

source

Das Quellobjekt, das das angegebene Ereignis auslöst.The source object that raises the specified event.

eventName
String String String String

Der Name der aus dem Ereignisses zu entfernenden Handlers.The name of the event to remove the handler from.

Gilt für: