Share via


HostingEnvironment.ContentRootPath 屬性

定義

取得或設定包含應用程式內容檔案的目錄絕對路徑。

public:
 property System::String ^ ContentRootPath { System::String ^ get(); void set(System::String ^ value); };
public string ContentRootPath { get; set; }
member this.ContentRootPath : string with get, set
Public Property ContentRootPath As String

屬性值

實作

備註

此 API 支援 .NET 基礎結構,並不適合直接從您的程式代碼使用。

適用於