HwndSource.RemoveHook(HwndSourceHook) 方法

定義

移除由 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)

參數

hook
HwndSourceHook

要移除的事件處理常式。

屬性

備註

重要

這個方法無法在網際網路安全性區域中使用。

適用於

另請參閱