ITextUndoHistory.UndoTransactionCompleted Event

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

Namespace:  Microsoft.VisualStudio.Text.Operations
Assembly:  Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.dll)

Syntax

'Declaration
Event UndoTransactionCompleted As EventHandler(Of TextUndoTransactionCompletedEventArgs)
event EventHandler<TextUndoTransactionCompletedEventArgs> UndoTransactionCompleted
 event EventHandler<TextUndoTransactionCompletedEventArgs^>^ UndoTransactionCompleted {
    void add (EventHandler<TextUndoTransactionCompletedEventArgs^>^ value);
    void remove (EventHandler<TextUndoTransactionCompletedEventArgs^>^ value);
}
abstract UndoTransactionCompleted : IEvent<EventHandler<TextUndoTransactionCompletedEventArgs>,
    TextUndoTransactionCompletedEventArgs>
JScript does not support events.

Remarks

The sender object is the ITextUndoHistory that originated it, and the event arguments 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.

.NET Framework Security

See Also

Reference

ITextUndoHistory Interface

Microsoft.VisualStudio.Text.Operations Namespace