Renders the template output to a file.

Namespace: CodeSmith.Engine
Assembly: CodeSmith.Engine (in CodeSmith.Engine.dll) Version: 6.0.0.0 (7.0.0.15127)

Syntax

C#
public void RenderToFile(
	string path,
	string dependentUpon,
	bool overwrite
)
Visual Basic
Public Sub RenderToFile ( 
	path As String,
	dependentUpon As String,
	overwrite As Boolean
)

Parameters

path
Type: System..::..String
The output file path.
dependentUpon
Type: System..::..String
The file that the output is dependent upon.
overwrite
Type: System..::..Boolean
if set to true overwrite file.

See Also