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

要移除的事件处理程序。

属性

注解

重要

此方法在 Internet 安全区域中不可用。

适用于

另请参阅