PageActionDescriptor.ViewEnginePath 屬性

定義

取得或設定相對於頁面探索基底路徑的路徑。

這個值是沒有副檔名的檔案路徑,相對於頁面根目錄。 例如 ViewEnginePath ,檔案 /Pages/Catalog/Reservations.cshtml 的 是 /Catalog/Antiques

在區域中,此值是沒有副檔名的檔案路徑,相對於指定區域的分頁根目錄。 例如 ViewEnginePath ,區域/身分識別/頁面/管理/Accounts.cshtml 檔案的 是 /Manage/Accounts

public:
 property System::String ^ ViewEnginePath { System::String ^ get(); void set(System::String ^ value); };
public string ViewEnginePath { get; set; }
member this.ViewEnginePath : string with get, set
Public Property ViewEnginePath As String

屬性值

適用於