Bewerken

Delen via


UndoEngine.UndoUnit(UndoEngine, String) Constructor

Definition

Initializes a new instance of the UndoEngine.UndoUnit class.

public:
 UndoUnit(System::ComponentModel::Design::UndoEngine ^ engine, System::String ^ name);
public UndoUnit (System.ComponentModel.Design.UndoEngine engine, string name);
public UndoUnit (System.ComponentModel.Design.UndoEngine engine, string? name);
new System.ComponentModel.Design.UndoEngine.UndoUnit : System.ComponentModel.Design.UndoEngine * string -> System.ComponentModel.Design.UndoEngine.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.

Exceptions

engine is null.

Applies to

See also