Share via


PageApplicationModel.ViewEnginePath Property

Definition

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

Property Value

Applies to