WebRazorHostFactory.CreateHostFromConfig Method (RazorWebSectionGroup, String, String)
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Creates a host from the configuration.
Assembly: System.Web.WebPages.Razor (in System.Web.WebPages.Razor.dll)
'Declaration Public Shared Function CreateHostFromConfig ( _ config As RazorWebSectionGroup, _ virtualPath As String, _ physicalPath As String _ ) As WebPageRazorHost 'Usage Dim config As RazorWebSectionGroup Dim virtualPath As String Dim physicalPath As String Dim returnValue As WebPageRazorHost returnValue = WebRazorHostFactory.CreateHostFromConfig(config, _ virtualPath, physicalPath)
Parameters
- config
- Type: System.Web.WebPages.Razor.Configuration.RazorWebSectionGroup
The configuration.
- virtualPath
- Type: System.String
The virtual path of the file.
- physicalPath
- Type: System.String
The physical file system path.
Show: