IHostEnvironment.ContentRootPath 屬性

定義

取得或設定包含應用程式內容檔案的目錄絕對路徑。Gets or sets the absolute path to the directory that contains the application content files.

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

屬性值

String

適用於