IVsWebBrowsingService 接口

使该包创建和控制浏览会话 Web。您可以获取此接口的实例从 SVsWebBrowsingService (SID_SVsWebBrowsingService) services。

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

语法

声明
<GuidAttribute("E8B06F51-6D01-11D2-AA7D-00C04F990343")> _
<InterfaceTypeAttribute()> _
Public Interface IVsWebBrowsingService
[GuidAttribute("E8B06F51-6D01-11D2-AA7D-00C04F990343")]
[InterfaceTypeAttribute()]
public interface IVsWebBrowsingService

IVsWebBrowsingService 类型公开以下成员。

方法

  名称 说明
公共方法 CreateExternalWebBrowser 创建外部浏览器的实例。
公共方法 CreateWebBrowser 创建 web 浏览器的实例在 Visual Studio 用户界面中的。
公共方法 CreateWebBrowserEx 创建浏览器的实例。CreateWebBrowser 方法的扩展。
公共方法 GetFirstWebBrowser 获取第一个可用的浏览器。
公共方法 GetWebBrowserEnum 获取当前 Web 浏览器的枚举数。
公共方法 Navigate

页首

请参见

参考

Microsoft.VisualStudio.Shell.Interop 命名空间