UndoManager.Add Method
Adds an undo unit to the stack and updates the UI.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)
Syntax
'Declaração
Public Sub Add ( _
undoUnit As IOleUndoUnit _
)
public void Add(
IOleUndoUnit undoUnit
)
public:
void Add(
IOleUndoUnit^ undoUnit
)
member Add :
undoUnit:IOleUndoUnit -> unit
public function Add(
undoUnit : IOleUndoUnit
)
Parameters
- undoUnit
Type: Microsoft.VisualStudio.OLE.Interop.IOleUndoUnit
.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.