Selection.Unsubscribe 方法

定义

移除以前添加的选择集更改事件的帮助器方法。

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>

要在选择集更改时调用的处理程序。

适用于