- primary
- true to create the first of a series of nested units; false to create subsequent nested units.
Visual Basic (Declaration) | |
---|---|
Protected Overloads Overrides Function CreateUndoUnit( _ ByVal name As String, _ ByVal primary As Boolean _ ) As UndoEngine.UndoUnit |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As UndoEngine Dim name As String Dim primary As Boolean Dim value As UndoEngine.UndoUnit value = instance.CreateUndoUnit(name, primary) |
C# | |
---|---|
protected override UndoEngine.UndoUnit CreateUndoUnit( string name, bool primary ) |
C++/CLI | |
---|---|
protected: UndoEngine.UndoUnit^ CreateUndoUnit( String^ name, bool primary ) override |
Parameters
- name
- The name of the unit to create.
- primary
- true to create the first of a series of nested units; false to create subsequent nested units.
Return Value
A new System.ComponentModel.Design.UndoEngine.UndoUnit with a specified name.Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2