Compartir a través de


VsUndoUnitClass Class

Determines if the undo unit applies to UI items only.

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

Syntax

'Declaración
<GuidAttribute("9ADF33D9-8AAD-11D0-B606-00A0C922E851")> _
<ClassInterfaceAttribute()> _
Public Class VsUndoUnitClass _
    Implements IVsUndoUnit, VsUndoUnit
'Uso
Dim instance As VsUndoUnitClass
[GuidAttribute("9ADF33D9-8AAD-11D0-B606-00A0C922E851")]
[ClassInterfaceAttribute()]
public class VsUndoUnitClass : IVsUndoUnit, 
    VsUndoUnit
[GuidAttribute(L"9ADF33D9-8AAD-11D0-B606-00A0C922E851")]
[ClassInterfaceAttribute()]
public ref class VsUndoUnitClass : IVsUndoUnit, 
    VsUndoUnit
[<GuidAttribute("9ADF33D9-8AAD-11D0-B606-00A0C922E851")>]
[<ClassInterfaceAttribute()>]
type VsUndoUnitClass =  
    class
        interface IVsUndoUnit
        interface VsUndoUnit
    end
public class VsUndoUnitClass implements IVsUndoUnit, VsUndoUnit

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.VsUndoUnitClass

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

VsUndoUnitClass Members

Microsoft.VisualStudio.TextManager.Interop Namespace