共用方式為


VsUndoUnitClass Class

Definition

Determines if the undo unit applies to UI items only. See IVsUndoUnit.

public ref class VsUndoUnitClass : Microsoft::VisualStudio::TextManager::Interop::VsUndoUnit
[Windows::Foundation::Metadata::WebHostHidden]
class VsUndoUnitClass : Microsoft::VisualStudio::TextManager::Interop::VsUndoUnit
[System.Runtime.InteropServices.ClassInterface(0)]
[System.Runtime.InteropServices.Guid("9ADF33D9-8AAD-11D0-B606-00A0C922E851")]
[System.Runtime.InteropServices.TypeLibType(2)]
public class VsUndoUnitClass : Microsoft.VisualStudio.TextManager.Interop.VsUndoUnit
[System.Runtime.InteropServices.Guid("9ADF33D9-8AAD-11D0-B606-00A0C922E851")]
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
public class VsUndoUnitClass : Microsoft.VisualStudio.TextManager.Interop.VsUndoUnit
[<System.Runtime.InteropServices.ClassInterface(0)>]
[<System.Runtime.InteropServices.Guid("9ADF33D9-8AAD-11D0-B606-00A0C922E851")>]
[<System.Runtime.InteropServices.TypeLibType(2)>]
type VsUndoUnitClass = class
    interface IVsUndoUnit
    interface VsUndoUnit
[<System.Runtime.InteropServices.Guid("9ADF33D9-8AAD-11D0-B606-00A0C922E851")>]
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)>]
type VsUndoUnitClass = class
    interface VsUndoUnit
    interface IVsUndoUnit
Public Class VsUndoUnitClass
Implements VsUndoUnit
Inheritance
VsUndoUnitClass
Attributes
Implements

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.

Constructors

VsUndoUnitClass()

Creates a new instance of the class.

Methods

fChangeData()

Indicates whether the undo unit applies to UI only and does not change the document data.

Applies to