IVsWebPreviewAction 接口

定义要调用的方法以响应 Web 预览事件。实现接口并将其与 Web 预览方法 IVsWebPreview 接口的 PreviewURLPreviewURLEx

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

语法

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

IVsWebPreviewAction 类型公开以下成员。

方法

  名称 说明
公共方法 OnPreviewClose 调用方法,以便在预览窗口关闭。
公共方法 OnPreviewLoaded 调用方法,以便在预览窗口加载了其文档时。
公共方法 OnPreviewLoadStart 调用方法,以便在预览窗口中启动填充其文档。

页首

请参见

参考

Microsoft.VisualStudio.Shell.Interop 命名空间