Download the solution TagReference.dbsln.

Built with v10.

This example demonstrates the use of the Reference Tag type.


Summary

This example demonstrates the use of the Reference Tag type.


Technical Information

Reference tags enable dynamic addressing of variables. You can use reference tags in a similar way to how references are used in .NET programming, as both have a defined type. The target type for the reference is specified in the "Parameters" column.

Typed references provide advantages during both the engineering phase and runtime. In the engineering phase, they allow IntelliSense to browse template members directly when a reference points to a template. At runtime, they support string data validation.

Each reference tag includes an additional runtime attribute, the "link" property. This property specifies the target tag that the reference will be associated with during execution, utilizing the GetName() method.


Reference Information

→ See Tags and Templates for more information.


In this section:

Loading...

  • No labels