Official Content

This is an example of Template directive:

<%@ Template Language="C#" TargetLanguage="C#" Description="Simple template" %>

Language: This tells the template engine what language will be used inside the template tags. The languages available are C# and Visual Basic. The valid values are: “C#” and “VB”.

TargetLanguage: The TargetLanguage indicates the language that the template will generate, and can be the file type extension (.html, .xml, .cs, .vb, etc.) It’s can be used by the template editors to provide syntax coloring in the output.

Description: It allows you to describe the template output.

See Also

GeneXus Template Language









Last update: February 2024 | © GeneXus. All rights reserved. GeneXus Powered by Globant