Share via


WebCodeRazorHost Constructor (String, String)

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Initializes a new instance of the WebCodeRazorHost class.

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

Syntax

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

Dim instance As New WebCodeRazorHost(virtualPath, _
    physicalPath)
public WebCodeRazorHost(
    string virtualPath,
    string physicalPath
)
public:
WebCodeRazorHost(
    String^ virtualPath, 
    String^ physicalPath
)
new : 
        virtualPath:string * 
        physicalPath:string -> WebCodeRazorHost
public function WebCodeRazorHost(
    virtualPath : String, 
    physicalPath : String
)

Parameters

See Also

Reference

WebCodeRazorHost Class

WebCodeRazorHost Overload

System.Web.WebPages.Razor Namespace