共用方式為


VsUndoPackage Interface

Definition

Implements the linked undo stack feature. See IVsLinkedUndoTransactionManager.

public interface class VsUndoPackage : Microsoft::VisualStudio::TextManager::Interop::IVsLinkedUndoTransactionManager
public interface class VsUndoPackage : Microsoft::VisualStudio::TextManager::Interop::IVsLinkedUndoTransactionManager
__interface VsUndoPackage : Microsoft::VisualStudio::TextManager::Interop::IVsLinkedUndoTransactionManager
[System.Runtime.InteropServices.CoClass(typeof(Microsoft.VisualStudio.TextManager.Interop.VsUndoPackageClass))]
[System.Runtime.InteropServices.Guid("F65478CC-96F1-4BA9-9EF9-A575ACB96031")]
public interface VsUndoPackage : Microsoft.VisualStudio.TextManager.Interop.IVsLinkedUndoTransactionManager
[System.Runtime.InteropServices.CoClass(typeof(Microsoft.VisualStudio.TextManager.Interop.VsUndoPackageClass))]
[System.Runtime.InteropServices.Guid("F65478CC-96F1-4BA9-9EF9-A575ACB96031")]
[System.Runtime.InteropServices.ComVisible(false)]
public interface VsUndoPackage : Microsoft.VisualStudio.TextManager.Interop.IVsLinkedUndoTransactionManager
[<System.Runtime.InteropServices.CoClass(typeof(Microsoft.VisualStudio.TextManager.Interop.VsUndoPackageClass))>]
[<System.Runtime.InteropServices.Guid("F65478CC-96F1-4BA9-9EF9-A575ACB96031")>]
type VsUndoPackage = interface
    interface IVsLinkedUndoTransactionManager
[<System.Runtime.InteropServices.CoClass(typeof(Microsoft.VisualStudio.TextManager.Interop.VsUndoPackageClass))>]
[<System.Runtime.InteropServices.Guid("F65478CC-96F1-4BA9-9EF9-A575ACB96031")>]
[<System.Runtime.InteropServices.ComVisible(false)>]
type VsUndoPackage = interface
    interface IVsLinkedUndoTransactionManager
Public Interface VsUndoPackage
Implements IVsLinkedUndoTransactionManager
Derived
Attributes
Implements

Methods

AbortLinkedUndo()

Aborts a linked undo transaction.

(Inherited from IVsLinkedUndoTransactionManager)
CloseLinkedUndo()

Successfully closes a linked undo transaction.

(Inherited from IVsLinkedUndoTransactionManager)
CountOpenTransactions(Int32)

Returns the nesting level of the linked undo transactions.

(Inherited from IVsLinkedUndoTransactionManager)
IsAborted(Int32)

Determines if the linked undo transaction is aborted.

(Inherited from IVsLinkedUndoTransactionManager)
IsStrict(Int32)

Determines if the linked undo transaction is strict.

(Inherited from IVsLinkedUndoTransactionManager)
OpenLinkedUndo(UInt32, String)

Opens a linked undo transaction parent unit.

(Inherited from IVsLinkedUndoTransactionManager)

Applies to