HwndSource.RemoveHook(HwndSourceHook) Metode
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Menghapus penanganan aktivitas yang ditambahkan oleh 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)
Parameter
- hook
- HwndSourceHook
Penanganan aktivitas yang akan dihapus.
- Atribut
Keterangan
Important
Metode ini tidak tersedia di zona keamanan Internet.