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 | |
---|---|---|
VsUndoUnitClass |
Top
Methods
Name | Description | |
---|---|---|
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
fChangeData | Indicates whether the undo unit applies to UI only and does not change the document data. | |
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.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
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.