OleUndoEngine.CreateUndoUnit(String, Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.