DisplayName function (automation interface)
Syntax:
DisplayName("<tag definition name>")
Where:
• <tag definition name> is a string that specifies the Name of the Tag Definition.
The DisplayName function returns the Name Alias value of a Tag Definition as a string.
Note that DisplayName function returns the Name Alias from a lookup table that is updated when the model is opened and when a Tag Definition is created.
Examples
To display the display name of a Tag Definition named MyTagDefinition:
strMessage = ActiveProject.DisplayName("MyTagDefinition")
Call Msgbox(strMessage)