WebApplicationFactoryContentRootAttribute.ContentRootPath 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取给定项目的内容根路径。 此内容根可以是相对的,也可以是绝对的。 如果它是相对路径,则它将与 组合在一起 BaseDirectory。
public:
property System::String ^ ContentRootPath { System::String ^ get(); };
public string ContentRootPath { get; }
member this.ContentRootPath : string
Public ReadOnly Property ContentRootPath As String