WebPageRazorHost.RegisterSpecialFile Method (String, Type)

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

Registers the special file with the specified file name and base type.

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

protected void RegisterSpecialFile(
	string fileName,
	Type baseType
)

Parameters

fileName
Type: System.String
The file name.
baseType
Type: System.Type
The type of base file.
Show: