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
'Declaração
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.