 | RazorTemplateBaseTModelIncludeFile Method (String, String) |
Includes the file specified before the razor template is compiled.
Namespace:
Dynamicweb.Rendering
Assembly:
Dynamicweb (in Dynamicweb.dll) Version: 9.10.0
Syntaxpublic string IncludeFile(
string file,
string helperNameSpace
)
Public Function IncludeFile (
file As String,
helperNameSpace As String
) As String
Parameters
- file
- Type: SystemString
The relative file path, i.e. includes/myfile.cshtml. - helperNameSpace
- Type: SystemString
Return Value
Type:
String
See Also