Compartir a través de


OleUndoEngine.UndoUnit Constructor

Initializes a new instance of the OleUndoEngine.UndoUnit class.

Namespace:  Microsoft.VisualStudio.Shell.Design
Assembly:  Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)

Syntax

'Declaration
Public Sub New ( _
    engine As UndoEngine, _
    name As String _
)
public UndoUnit(
    UndoEngine engine,
    string name
)
public:
UndoUnit(
    UndoEngine^ engine, 
    String^ name
)
new : 
        engine:UndoEngine * 
        name:string -> UndoUnit
public function OleUndoEngine.UndoUnit(
    engine : UndoEngine, 
    name : String
)

Parameters

  • engine
    Type: UndoEngine

    The undo engine that owns this undo unit.

  • name
    Type: String

    The name for this undo unit.

.NET Framework Security

See Also

Reference

OleUndoEngine.UndoUnit Class

Microsoft.VisualStudio.Shell.Design Namespace

OleUndoEngine

UndoUnit

IOleParentUndoUnit

IOleUndoUnit

OleUndoEngine.UndoUnit