Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

WebRazorHostFactory::CreateHost Method

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

Creates a Razor host.

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

public:
virtual 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.
Show:
© 2015 Microsoft