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

要删除的事件处理程序。

属性

注解

Important

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

适用于

另请参阅