MvcWebPageRazorHost Constructor

Initializes a new instance of the MvcWebPageRazorHost class.

Namespace:  System.Web.Mvc.Razor
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

'Declaration
Public Sub New ( _
	virtualPath As String, _
	physicalPath As String _
)
'Usage
Dim virtualPath As String 
Dim physicalPath As String 

Dim instance As New MvcWebPageRazorHost(virtualPath, _
	physicalPath)

Parameters

virtualPath
Type: System.String

The virtual path of the ASP.NET Razor file.

physicalPath
Type: System.String

The physical path of the ASP.NET Razor file.

Show: