PageApplicationModel.ViewEnginePath Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the path relative to the base path for page discovery.
This value is the path of the file without extension, relative to the pages root directory.
e.g. the ViewEnginePath for the file /Pages/Catalog/Antiques.cshtml is /Catalog/Antiques
In an area, this value is the path of the file without extension, relative to the pages root directory for the specified area.
e.g. the ViewEnginePath for the file Areas/Identity/Pages/Manage/Accounts.cshtml, is /Manage/Accounts
.
public:
property System::String ^ ViewEnginePath { System::String ^ get(); };
public string ViewEnginePath { get; }
member this.ViewEnginePath : string
Public ReadOnly Property ViewEnginePath As String