获取或设置网站的启动 URL。
命名空间: VsWebSite
程序集: VsWebSite.Interop(在 VsWebSite.Interop.dll 中)
语法
声明
Property StartURL As String
Get
Set
string StartURL { get; set; }
property String^ StartURL {
String^ get ();
void set (String^ value);
}
abstract StartURL : string with get, set
function get StartURL () : String
function set StartURL (value : String)
属性值
类型:System.String
启动网站时使用的 URL。
备注
StartURL 值仅当 StartAction 属性的值为 webStartActionURL 时才使用。
示例
有关读取和设置后期绑定属性的示例,请参见 WebSiteProperties。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。