Export (0) Print
Expand All

VsUndoPackageClass Class

Implements the linked undo stack feature. See IVsLinkedUndoTransactionManager.


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

public class VsUndoPackageClass : IVsLinkedUndoTransactionManager, 

The VsUndoPackageClass type exposes the following members.

Public methodVsUndoPackageClassCreates a new instance of the class.

Public methodAbortLinkedUndoAborts a linked undo transaction.
Public methodCloseLinkedUndoSuccessfully closes a linked undo transaction.
Public methodCountOpenTransactionsReturns the nesting level of the linked undo transactions.
Public methodEqualsDetermines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodIsAbortedDetermines if the linked undo transaction is aborted.
Public methodIsStrictDetermines if the linked undo transaction is strict.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodOpenLinkedUndoOpens a linked undo transaction parent unit.
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)

You cannot create an instance of this class with the new keyword. Instead, you must get the ILocalRegistry object and create the object with CreateInstance. The MPF wraps this method with CreateInstance.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
© 2015 Microsoft