UndoUnit.Do Method
Performs undo/redo based on the internal state of this undo unit. Also, undo unit is responsible for adding itself to the *opposite* stack.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0.dll)
Syntax
'Declaration
Public Sub Do ( _
undoManager As IOleUndoManager _
)
public void Do(
IOleUndoManager undoManager
)
public:
virtual void Do(
IOleUndoManager^ undoManager
) sealed
abstract Do :
undoManager:IOleUndoManager -> unit
override Do :
undoManager:IOleUndoManager -> unit
public final function Do(
undoManager : IOleUndoManager
)
Parameters
undoManager
Type: Microsoft.VisualStudio.OLE.Interop.IOleUndoManagerUndo manager, used for adding undo unit to appropriate undo/redo stack
Implements
IOleUndoUnit.Do(IOleUndoManager)
.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.