VsUndoPackageClass Class
Implements the linked undo stack feature.
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.TextManager.Interop.VsUndoPackageClass
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Syntax
'Declaration
<ClassInterfaceAttribute()> _
<GuidAttribute("1D76B2E0-F11B-11D2-AFC3-00105A9991EF")> _
Public Class VsUndoPackageClass _
Implements IVsLinkedUndoTransactionManager, VsUndoPackage
[ClassInterfaceAttribute()]
[GuidAttribute("1D76B2E0-F11B-11D2-AFC3-00105A9991EF")]
public class VsUndoPackageClass : IVsLinkedUndoTransactionManager,
VsUndoPackage
[ClassInterfaceAttribute()]
[GuidAttribute(L"1D76B2E0-F11B-11D2-AFC3-00105A9991EF")]
public ref class VsUndoPackageClass : IVsLinkedUndoTransactionManager,
VsUndoPackage
[<ClassInterfaceAttribute()>]
[<GuidAttribute("1D76B2E0-F11B-11D2-AFC3-00105A9991EF")>]
type VsUndoPackageClass =
class
interface IVsLinkedUndoTransactionManager
interface VsUndoPackage
end
public class VsUndoPackageClass implements IVsLinkedUndoTransactionManager, VsUndoPackage
The VsUndoPackageClass type exposes the following members.
Constructors
Name | Description | |
---|---|---|
VsUndoPackageClass |
Top
Methods
Name | Description | |
---|---|---|
AbortLinkedUndo | Aborts a linked undo transaction. | |
CloseLinkedUndo | Successfully closes a linked undo transaction. | |
CountOpenTransactions | Returns the nesting level of the linked undo transactions. | |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
IsAborted | Determines if the linked undo transaction is aborted. | |
IsStrict | Determines if the linked undo transaction is strict. | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
OpenLinkedUndo | Opens a linked undo transaction parent unit. | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Remarks
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.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.