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

屬性值

適用於