Click or drag to resize

RazorTemplateBaseTModelInclude 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
Syntax
public string Include(
	string file,
	string helperNameSpace
)

Parameters

file
Type: SystemString
The relative file path, i.e. includes/myfile.cshtml.
helperNameSpace
Type: SystemString
Namespace of the helper.

Return Value

Type: String
See Also