WebCodeRazorHost Constructor (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 _
)
'Usage
Dim virtualPath As String
Dim instance As New WebCodeRazorHost(virtualPath)
public WebCodeRazorHost(
string virtualPath
)
public:
WebCodeRazorHost(
String^ virtualPath
)
new :
virtualPath:string -> WebCodeRazorHost
public function WebCodeRazorHost(
virtualPath : String
)
Parameters
- virtualPath
Type: System.String
The virtual path.