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

适用于