共用方式為


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

適用於

另請參閱