共用方式為


VsUndoPackage Interface

Implements the linked undo stack feature. See IVsLinkedUndoTransactionManager.

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

Syntax

'宣告
<GuidAttribute("F65478CC-96F1-4BA9-9EF9-A575ACB96031")> _
Public Interface VsUndoPackage _
    Inherits IVsLinkedUndoTransactionManager
[GuidAttribute("F65478CC-96F1-4BA9-9EF9-A575ACB96031")]
public interface VsUndoPackage : IVsLinkedUndoTransactionManager
[GuidAttribute(L"F65478CC-96F1-4BA9-9EF9-A575ACB96031")]
public interface class VsUndoPackage : IVsLinkedUndoTransactionManager
[<GuidAttribute("F65478CC-96F1-4BA9-9EF9-A575ACB96031")>]
type VsUndoPackage =  
    interface
        interface IVsLinkedUndoTransactionManager
    end
public interface VsUndoPackage extends IVsLinkedUndoTransactionManager

The VsUndoPackage type exposes the following members.

Methods

  Name Description
Public method AbortLinkedUndo Aborts a linked undo transaction. (Inherited from IVsLinkedUndoTransactionManager.)
Public method CloseLinkedUndo Successfully closes a linked undo transaction. (Inherited from IVsLinkedUndoTransactionManager.)
Public method CountOpenTransactions Returns the nesting level of the linked undo transactions. (Inherited from IVsLinkedUndoTransactionManager.)
Public method IsAborted Determines if the linked undo transaction is aborted. (Inherited from IVsLinkedUndoTransactionManager.)
Public method IsStrict Determines if the linked undo transaction is strict. (Inherited from IVsLinkedUndoTransactionManager.)
Public method OpenLinkedUndo Opens a linked undo transaction parent unit. (Inherited from IVsLinkedUndoTransactionManager.)

Top

See Also

Reference

Microsoft.VisualStudio.TextManager.Interop Namespace