共用方式為


FrameworkElementFactory.RemoveHandler(RoutedEvent, Delegate) 方法

定義

從特定的路由事件中移除事件處理常式。 這適用於這個處理站所建立的執行個體。

public:
 void RemoveHandler(System::Windows::RoutedEvent ^ routedEvent, Delegate ^ handler);
public void RemoveHandler (System.Windows.RoutedEvent routedEvent, Delegate handler);
member this.RemoveHandler : System.Windows.RoutedEvent * Delegate -> unit
Public Sub RemoveHandler (routedEvent As RoutedEvent, handler As Delegate)

參數

routedEvent
RoutedEvent

路由事件的識別項物件。

handler
Delegate

要移除的處理常式。

適用於