OleUndoEngine.CreateUndoUnit(String, Boolean) Method

Definition

Creates a new undo unit.

protected:
 override System::ComponentModel::Design::UndoEngine::UndoUnit ^ CreateUndoUnit(System::String ^ name, bool primary);
protected override System.ComponentModel.Design.UndoEngine.UndoUnit CreateUndoUnit (string name, bool primary);
override this.CreateUndoUnit : string * bool -> System.ComponentModel.Design.UndoEngine.UndoUnit
Protected Overrides Function CreateUndoUnit (name As String, primary As Boolean) As UndoEngine.UndoUnit

Parameters

name
String

The name of the undo unit.

primary
Boolean

true if the undo unit is primary, otherwise false.

Returns

The created UndoEngine.UndoUnit.

Applies to