Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

MvcWebRazorHostFactory.CreateHost Method

Creates a Razor host.

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)
public override WebPageRazorHost CreateHost(
	string virtualPath,
	string physicalPath
)

Parameters

virtualPath
Type: System.String

The virtual path to the target file.

physicalPath
Type: System.String

The physical path to the target file.

Return Value

Type: System.Web.WebPages.Razor.WebPageRazorHost
A Razor host.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.