共用方式為


Selection.Unsubscribe 方法

定義

移除先前加入之選取項目變更事件的 Helper 方法。

public:
 static void Unsubscribe(System::Activities::Presentation::EditingContext ^ context, System::Activities::Presentation::SubscribeContextCallback<System::Activities::Presentation::View::Selection ^> ^ handler);
public static void Unsubscribe (System.Activities.Presentation.EditingContext context, System.Activities.Presentation.SubscribeContextCallback<System.Activities.Presentation.View.Selection> handler);
static member Unsubscribe : System.Activities.Presentation.EditingContext * System.Activities.Presentation.SubscribeContextCallback<System.Activities.Presentation.View.Selection> -> unit
Public Shared Sub Unsubscribe (context As EditingContext, handler As SubscribeContextCallback(Of Selection))

參數

context
EditingContext

要接聽的編輯內容。

handler
SubscribeContextCallback<Selection>

要在選取項目變更時叫用的處理常式。

適用於