HwndSource.RemoveHook(HwndSourceHook) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
删除已添加的 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 安全区域中不可用。