共用方式為


IOleParentUndoUnit Interface

Enables undo units to contain child undo units and thus to support complex undo actions. For more information, see IOleParentUndoUnit.

Namespace:  Microsoft.VisualStudio.OLE.Interop
Assembly:  Microsoft.VisualStudio.OLE.Interop (in Microsoft.VisualStudio.OLE.Interop.dll)

Syntax

'宣告
<InterfaceTypeAttribute()> _
<GuidAttribute("A1FAF330-EF97-11CE-9BC9-00AA00608E01")> _
Public Interface IOleParentUndoUnit _
    Inherits IOleUndoUnit
[InterfaceTypeAttribute()]
[GuidAttribute("A1FAF330-EF97-11CE-9BC9-00AA00608E01")]
public interface IOleParentUndoUnit : IOleUndoUnit

The IOleParentUndoUnit type exposes the following members.

Methods

  Name Description
Public method Add
Public method Close
Public method Do(IOleUndoManager)
Public method Do(IOleUndoManager) (Inherited from IOleUndoUnit.)
Public method FindUnit
Public method GetDescription(String%)
Public method GetDescription(String%) (Inherited from IOleUndoUnit.)
Public method GetParentState
Public method GetUnitType(Guid%, Int32%)
Public method GetUnitType(Guid%, Int32%) (Inherited from IOleUndoUnit.)
Public method OnNextAdd()
Public method OnNextAdd() (Inherited from IOleUndoUnit.)
Public method Open

Top

See Also

Reference

Microsoft.VisualStudio.OLE.Interop Namespace