VarMap.HDVariablesAdd Method

This method adds a new item to the HDVariables collection. However, it does not add a new HotDocs variable to the component file—it simply creates a new item representing a variable.

Syntax

void HDVariablesAdd ( string varName, HotDocs.HDVARTYPE varType )

Parameters Description
varName The name of the item.
varType The type of the item. The vartype can be one of the following values, from the HDVARTYPE enumeration:
  • HD_TEXTTYPE
  • HD_NUMBERTYPE
  • HD_DATETYPE
  • HD_TRUEFALSETYPE
  • HD_MULTCHOICETYPE