Compartilhar via


OleUndoEngine.UndoUnit(UndoEngine, String) Constructor

Definition

Initializes a new instance of the OleUndoEngine.UndoUnit class.

public:
 UndoUnit(System::ComponentModel::Design::UndoEngine ^ engine, System::String ^ name);
public UndoUnit (System.ComponentModel.Design.UndoEngine engine, string name);
new Microsoft.VisualStudio.Shell.Design.OleUndoEngine.UndoUnit : System.ComponentModel.Design.UndoEngine * string -> Microsoft.VisualStudio.Shell.Design.OleUndoEngine.UndoUnit
Public Sub New (engine As UndoEngine, name As String)

Parameters

engine
UndoEngine

The undo engine that owns this undo unit.

name
String

The name for this undo unit.

Applies to