SelectionOperations.Unsubscribe, méthode

Supprime une méthode de rappel afin qu'elle ne soit pas appelée en cas de modification de la sélection dans le contexte d'édition.

Espace de noms :  Microsoft.Windows.Design.Interaction
Assembly :  Microsoft.Windows.Design.Interaction (dans Microsoft.Windows.Design.Interaction.dll)

Syntaxe

'Déclaration
Public Shared Sub Unsubscribe ( _
    context As EditingContext, _
    handler As SubscribeContextCallback(Of Selection) _
)
public static void Unsubscribe(
    EditingContext context,
    SubscribeContextCallback<Selection> handler
)
public:
static void Unsubscribe(
    EditingContext^ context, 
    SubscribeContextCallback<Selection^>^ handler
)
static member Unsubscribe : 
        context:EditingContext * 
        handler:SubscribeContextCallback<Selection> -> unit 
public static function Unsubscribe(
    context : EditingContext, 
    handler : SubscribeContextCallback<Selection>
)

Paramètres

Exceptions

Exception Condition
ArgumentNullException

context ou handler est nullune référence null (Nothing en Visual Basic).

Sécurité .NET Framework

Voir aussi

Référence

SelectionOperations Classe

Microsoft.Windows.Design.Interaction, espace de noms

Selection

SelectionCommands

SelectionTool

EditingContext

Autres ressources

Architecture de l'extensibilité du Concepteur WPF