Gets an instance of the specified template.

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

Syntax

C#
public CodeTemplate GetCodeTemplateInstance(
	string templatePath
)
Visual Basic
Public Function GetCodeTemplateInstance ( 
	templatePath As String
) As CodeTemplate

Parameters

templatePath
Type: System..::..String
Path to the template.

Return Value

Type: CodeTemplate

See Also