IVsPreviewChangesService 接口

显示用于重构代码的 预览更改 对话框。您可以获取接口的实例。 SVsPreviewChangesService (SID_SVsPreviewChangesService) services。

命名空间:  Microsoft.VisualStudio.Shell.Interop
程序集:  Microsoft.VisualStudio.Shell.Interop.8.0(在 Microsoft.VisualStudio.Shell.Interop.8.0.dll 中)

语法

声明
<InterfaceTypeAttribute()> _
<GuidAttribute("AF142B19-FB37-40C0-9C28-6617ADBFFAC7")> _
Public Interface IVsPreviewChangesService
[InterfaceTypeAttribute()]
[GuidAttribute("AF142B19-FB37-40C0-9C28-6617ADBFFAC7")]
public interface IVsPreviewChangesService

IVsPreviewChangesService 类型公开以下成员。

方法

  名称 说明
公共方法 PreviewChanges 通过显示 预览更改 对话框预览重构更改。

页首

备注

有关重构代码的概述,请参见 重构 (C#)

请参见

参考

Microsoft.VisualStudio.Shell.Interop 命名空间