HwndSource.RemoveHook(HwndSourceHook) Metod

Definition

Tar bort de händelsehanterare som lades till av AddHook(HwndSourceHook).

public:
 void RemoveHook(System::Windows::Interop::HwndSourceHook ^ hook);
[System.Security.SecurityCritical]
public void RemoveHook(System.Windows.Interop.HwndSourceHook hook);
public void RemoveHook(System.Windows.Interop.HwndSourceHook hook);
[<System.Security.SecurityCritical>]
member this.RemoveHook : System.Windows.Interop.HwndSourceHook -> unit
member this.RemoveHook : System.Windows.Interop.HwndSourceHook -> unit
Public Sub RemoveHook (hook As HwndSourceHook)

Parametrar

hook
HwndSourceHook

Händelsehanteraren som ska tas bort.

Attribut

Kommentarer

Important

Den här metoden är inte tillgänglig i Internetsäkerhetszonen.

Gäller för

Se även