Adding Code to Text Templates

You can use Visual Basic or Visual C# code to control how the text that results from processing the template is generated based on input data. Code blocks fall into three categories: statements, expressions, and class features.

In This Section

Reference

Domain-Specific Language Tools