IHostingEnvironment.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

属性值

适用于