WebApplicationFactoryContentRootAttribute.ContentRootPath 属性

定义

获取给定项目的内容根路径。 此内容根可以是相对的,也可以是绝对的。 如果它是相对路径,则它将与 组合在一起 BaseDirectory

public:
 property System::String ^ ContentRootPath { System::String ^ get(); };
public string ContentRootPath { get; }
member this.ContentRootPath : string
Public ReadOnly Property ContentRootPath As String

属性值

适用于