Udostępnij za pośrednictwem


WeakEventManager.RemoveEventHandler Metoda

Definicja

Przeciążenia

RemoveEventHandler(EventHandler, String)
RemoveEventHandler<TEventArgs>(EventHandler<TEventArgs>, String)

RemoveEventHandler(EventHandler, String)

public void RemoveEventHandler (EventHandler handler, string eventName = default);
member this.RemoveEventHandler : EventHandler * string -> unit

Parametry

handler
System.EventHandler
eventName
System.String

Dotyczy

RemoveEventHandler<TEventArgs>(EventHandler<TEventArgs>, String)

public void RemoveEventHandler<TEventArgs> (EventHandler<TEventArgs> handler, string eventName = default) where TEventArgs : EventArgs;
member this.RemoveEventHandler : EventHandler<'EventArgs (requires 'EventArgs :> EventArgs)> * string -> unit (requires 'EventArgs :> EventArgs)

Parametry typu

TEventArgs

Parametry

handler
System.EventHandler<TEventArgs>
eventName
System.String

Dotyczy