Export (0) Print
Expand All

VsUndoPackageClass Class

Implements the linked undo stack feature. See IVsLinkedUndoTransactionManager.

System.Object
  Microsoft.VisualStudio.TextManager.Interop.VsUndoPackageClass

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

[ClassInterfaceAttribute()]
[GuidAttribute("1D76B2E0-F11B-11D2-AFC3-00105A9991EF")]
public class VsUndoPackageClass : IVsLinkedUndoTransactionManager, 
	VsUndoPackage

The VsUndoPackageClass type exposes the following members.

  NameDescription
Public methodVsUndoPackageClassCreates a new instance of the class.
Top

  NameDescription
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.)
Top

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.
Show:
© 2015 Microsoft