Dynamicweb 8 Documentation
GenerateTemplate Method

if set to true overwrite if the template already exists on disk.
Generates a template file on disk. Used when the writing the code for a template. Call this method to have a template generated based on the tags set.
Syntax
'Declaration
 
Public Sub GenerateTemplate( _ 
   ByVal overwrite As Boolean _ 
) 
public void GenerateTemplate( 
   bool overwrite 
)

Parameters

overwrite
if set to true overwrite if the template already exists on disk.
Remarks
You need to set DeveloperMode to true before calling Output and the call to this method. WARNING: This should not be part of production code. This is for development purposes only.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Template Class
Template Members

Send Feedback