UndoManager.UndoItemDiscarded Event
Event that is fired every time an undo item is discarded from the undo stack because the stack size exceeded the maximum number of undo items permitted.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
'Declaration
Public Event UndoItemDiscarded As EventHandler(Of UndoItemEventArgs)
public event EventHandler<UndoItemEventArgs> UndoItemDiscarded
public:
event EventHandler<UndoItemEventArgs^>^ UndoItemDiscarded {
void add (EventHandler<UndoItemEventArgs^>^ value);
void remove (EventHandler<UndoItemEventArgs^>^ value);
}
member UndoItemDiscarded : IEvent<EventHandler<UndoItemEventArgs>,
UndoItemEventArgs>
JScript does not support events.
.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.