共用方式為


WebSiteProperties.BrowseURL 屬性

取得或設定用以執行網站的 URL。

命名空間:  VsWebSite
組件:  VsWebSite.Interop (在 VsWebSite.Interop.dll 中)

語法

'宣告
Property BrowseURL As String
string BrowseURL { get; set; }
property String^ BrowseURL {
    String^ get ();
    void set (String^ value);
}
abstract BrowseURL : string with get, set
function get BrowseURL () : String
function set BrowseURL (value : String)

屬性值

型別:System.String
用以瀏覽網站的 URL。您只能針對檔案系統網站或 FTP 站台設定 BrowseURL 屬性。使用網際網路資訊服務 (IIS) 的網站會使用可用以開啟網站的 URL。

範例

如需讀取和設定晚期繫結屬性的範例,請參閱 WebSiteProperties

.NET Framework 安全性

請參閱

參考

WebSiteProperties 介面

VsWebSite 命名空間

EnvDTE

WebSiteProperties

其他資源

參考 Automation 組件和 DTE2 物件