ITextBuffer.Changing, événement

Se produit juste avant l'application d'une ITextEdit non vide.

Espace de noms :  Microsoft.VisualStudio.Text
Assembly :  Microsoft.VisualStudio.Text.Data (dans Microsoft.VisualStudio.Text.Data.dll)

Syntaxe

'Déclaration
Event Changing As EventHandler(Of TextContentChangingEventArgs)
event EventHandler<TextContentChangingEventArgs> Changing
event EventHandler<TextContentChangingEventArgs^>^ Changing {
    void add (EventHandler<TextContentChangingEventArgs^>^ value);
    void remove (EventHandler<TextContentChangingEventArgs^>^ value);
}
abstract Changing : IEvent<EventHandler<TextContentChangingEventArgs>,
    TextContentChangingEventArgs>
JScript ne prend pas en charge les événements.

Notes

Si la modification est annulée dans une telle éventualité, une autre modification peut être immédiatement dans le gestionnaire démarré. Par exemple, vous pouvez cet événement pouvez être utilisé pour fournir l'extraction sur la modification comme fonctionnalité implicite et utilisateur- annulable de contrôle de code source.

Sécurité .NET Framework

Voir aussi

Référence

ITextBuffer Interface

Microsoft.VisualStudio.Text, espace de noms

TextContentChangingEventArgs