Partilhar via


Selection.Unsubscribe Método

Definição

Um método auxiliar que remove um evento de alteração de seleção adicionado anteriormente.

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))

Parâmetros

context
EditingContext

O contexto de edição ao qual de deve escutar.

handler
SubscribeContextCallback<Selection>

O manipulador a ser invocado quando a seleção for alterada.

Aplica-se a