共用方式為


WeakEventManager.ProtectedRemoveHandler(Object, Delegate) 方法

定義

從指定的來源移除先前新增的處理常式。

protected:
 void ProtectedRemoveHandler(System::Object ^ source, Delegate ^ handler);
protected void ProtectedRemoveHandler (object source, Delegate handler);
member this.ProtectedRemoveHandler : obj * Delegate -> unit
Protected Sub ProtectedRemoveHandler (source As Object, handler As Delegate)

參數

source
Object

要從中移除處理常式的來源。

handler
Delegate

要從 source 移除的委派。

適用於