webStartAction 枚举

指定当用户在 Visual Studio 中运行网站时如何启动 Web 应用程序。

命名空间:  VsWebSite
程序集:  VsWebSite.Interop(在 VsWebSite.Interop.dll 中)

语法

声明
<GuidAttribute("557C19E5-8624-47FE-8080-C37F77AC4A47")> _
Public Enumeration webStartAction
[GuidAttribute("557C19E5-8624-47FE-8080-C37F77AC4A47")]
public enum webStartAction
[GuidAttribute(L"557C19E5-8624-47FE-8080-C37F77AC4A47")]
public enum class webStartAction
[<GuidAttribute("557C19E5-8624-47FE-8080-C37F77AC4A47")>]
type webStartAction
public enum webStartAction

成员

成员名称 说明
webStartActionCurrentPage 当前选定的网页用于启动 Web 应用程序。
webStartActionNoStartPage 与 Web 服务器建立连接,但不执行任何其他操作。不启动浏览器。
webStartActionProgram StartProgram 属性用于启动 Web 应用程序。此属性使用来自 StartArguments 属性的参数。工作目录由 StartWorkingDirectory 属性指定。
webStartActionSpecificPage StartPage 属性指定的页面用于启动 Web 应用程序。若要向页面传递参数,可手动添加一个查询字符串。
webStartActionURL StartURL 属性中指定的 URL 用于启动 Web 应用程序。将使用此 URL 启动浏览器。

请参阅

参考

VsWebSite 命名空间

VSWebSite