IVsWebPreview 接口

在子窗口使该包显示网页的预览,通常。您可以获取接口的实例。 SVsWebPreview (SID_SVsWebPreview) services。

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

语法

声明
<InterfaceTypeAttribute()> _
<GuidAttribute("9EC9BA55-B328-11D2-9A98-00C04F79EFC3")> _
Public Interface IVsWebPreview
[InterfaceTypeAttribute()]
[GuidAttribute("9EC9BA55-B328-11D2-9A98-00C04F79EFC3")]
public interface IVsWebPreview

IVsWebPreview 类型公开以下成员。

方法

  名称 说明
公共方法 ActivatePreview 激活 PreviewURLPreviewURLEx设置的预览。
公共方法 PreviewURL 为预览提供信息。使用 ActivatePreview 显示预览。
公共方法 PreviewURLEx 为预览提供信息。PreviewURL 扩展。使用 ActivatePreview 显示预览。
公共方法 Resize 调整预览 " 窗口。

页首

请参见

参考

Microsoft.VisualStudio.Shell.Interop 命名空间