Download the Solution Example here: TagReference.dbsln

  • Solution Name: Tag Reference
  • Software Version: v10
  • Keywords: Unified Namespace. Tags. Type. Reference.

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.

All reference tags include an additional runtime attribute: the "link" property, which defines which tag the reference will be linked to during execution, using the GetName() command.


Reference Information

→ See Tags and Templates for more information.


In this section:

  • No labels