WebPageRazorHost 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 WebPageRazorHost class with the specified virtual and physical file path.
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 WebPageRazorHost(virtualPath, _
physicalPath)
public WebPageRazorHost(
string virtualPath,
string physicalPath
)
public:
WebPageRazorHost(
String^ virtualPath,
String^ physicalPath
)
new :
virtualPath:string *
physicalPath:string -> WebPageRazorHost
public function WebPageRazorHost(
virtualPath : String,
physicalPath : String
)
Parameters
- virtualPath
Type: System.String
The virtual file path.
- physicalPath
Type: System.String
The physical file path.