MvcWebPageRazorHost(String, String) Constructor

Definition

Initializes a new instance of the MvcWebPageRazorHost class.

public MvcWebPageRazorHost (string virtualPath, string physicalPath);
new System.Web.Mvc.Razor.MvcWebPageRazorHost : string * string -> System.Web.Mvc.Razor.MvcWebPageRazorHost
Public Sub New (virtualPath As String, physicalPath As String)

Parameters

virtualPath
String

The virtual path of the ASP.NET Razor file.

physicalPath
String

The physical path of the ASP.NET Razor file.

Applies to