Поделиться через


VsUndoPackageClass Class

Implements the linked undo stack feature.

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

Syntax

'Декларация
<ClassInterfaceAttribute()> _
<GuidAttribute("1D76B2E0-F11B-11D2-AFC3-00105A9991EF")> _
Public Class VsUndoPackageClass _
    Implements IVsLinkedUndoTransactionManager, VsUndoPackage
'Применение
Dim instance As VsUndoPackageClass
[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

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.

Inheritance Hierarchy

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

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.

See Also

Reference

VsUndoPackageClass Members

Microsoft.VisualStudio.TextManager.Interop Namespace