Udostępnij za pośrednictwem


ITextUndoHistory.UndoTransactionCompleted Event

Definition

Notifies consumers when an ITextUndoTransaction is completed and added to the UndoStack.

public:
 event EventHandler<Microsoft::VisualStudio::Text::Operations::TextUndoTransactionCompletedEventArgs ^> ^ UndoTransactionCompleted;
event EventHandler<Microsoft.VisualStudio.Text.Operations.TextUndoTransactionCompletedEventArgs> UndoTransactionCompleted;
member this.UndoTransactionCompleted : EventHandler<Microsoft.VisualStudio.Text.Operations.TextUndoTransactionCompletedEventArgs> 
Event UndoTransactionCompleted As EventHandler(Of TextUndoTransactionCompletedEventArgs) 

Event Type

Remarks

The sender object is the ITextUndoHistory that originated it, and the event argumentss are an instance of TextUndoTransactionCompletedEventArgs class. This event is fired for the topmost ITextUndoTransaction objects only. Completion of nested transactions does not generate this event.

Applies to