Share via


PageActionDescriptor.ViewEnginePath Property

Definition

Gets or sets 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(); void set(System::String ^ value); };
public string ViewEnginePath { get; set; }
member this.ViewEnginePath : string with get, set
Public Property ViewEnginePath As String

Property Value

Applies to