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


VsUndoUnitClass Class

Determines if the undo unit applies to UI items only.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.TextManager.Interop.VsUndoUnitClass

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

Syntax

'Declaration
<GuidAttribute("9ADF33D9-8AAD-11D0-B606-00A0C922E851")> _
<ClassInterfaceAttribute()> _
Public Class VsUndoUnitClass _
    Implements IVsUndoUnit, VsUndoUnit
[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

The VsUndoUnitClass type exposes the following members.

Constructors

  Name Description
Public method VsUndoUnitClass

Top

Methods

  Name Description
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Public method fChangeData Indicates whether the undo unit applies to UI only and does not change the document data.
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method 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.

See Also

Reference

Microsoft.VisualStudio.TextManager.Interop Namespace