UndoEngine.UndoUnit(UndoEngine, String) 构造函数

定义

初始化 UndoEngine.UndoUnit 类的新实例。

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)

参数

engine
UndoEngine

拥有此撤消单元的撤消引擎。

name
String

此撤消单元的名称。

例外

enginenull

适用于

另请参阅