TextContentChangingEventArgs Classe
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Fournit des informations sur une transaction de modification à venir sur une ITextBuffer
public ref class TextContentChangingEventArgs : EventArgs
public class TextContentChangingEventArgs : EventArgs
type TextContentChangingEventArgs = class
inherit EventArgs
Public Class TextContentChangingEventArgs
Inherits EventArgs
- Héritage
-
TextContentChangingEventArgs
Remarques
Cette classe fournit des informations sur les événements tels que Changing .
Constructeurs
| TextContentChangingEventArgs(ITextSnapshot, Object, Action<TextContentChangingEventArgs>) |
Initialise une nouvelle instance de TextContentChangingEventArgs à passer pendant un événement Changing. |
Propriétés
| Before |
ITextSnapshot le plus récent avant la modification. |
| BeforeVersion |
Obtient ITextVersion associé à Before. |
| Canceled |
Détermine si la transaction de modification a été annulée. |
| EditTag |
Obtient un objet arbitraire fourni par l’initiateur des modifications. |
Méthodes
| Cancel() |
Annule la transaction de modification. |