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)
Syntax
'Declaration
Protected Sub RegisterSpecialFile ( _
fileName As String, _
baseType As Type _
)
'Usage
Dim fileName As String
Dim baseType As Type
Me.RegisterSpecialFile(fileName, _
baseType)
protected void RegisterSpecialFile(
string fileName,
Type baseType
)
protected:
void RegisterSpecialFile(
String^ fileName,
Type^ baseType
)
member RegisterSpecialFile :
fileName:string *
baseType:Type -> unit
protected function RegisterSpecialFile(
fileName : String,
baseType : Type
)
Parameters
- fileName
Type: System.String
The file name.
- baseType
Type: System.Type
The type of base file.