VarMap.SourceNamesAdd Method

This method adds a new source to the SourceNames collection. (See also SourceNamesAdd2.)

Syntax

void SourceNamesAdd ( string sourceName, HotDocs.HDVARTYPE varType )

Parameters Description
sourceName The name of the source.
varType The variable type for the source. In the user interface, the source will be selectable only for variables of this type. This parameter must be one of the following values from the HDVARTYPE enumeration:
  • HD_TEXTTYPE
  • HD_NUMBERTYPE
  • HD_DATETYPE
  • HD_TRUEFALSETYPE
  • HD_MULTCHOICETYPE