VarMap.SourceNamesAdd2 Method

This method adds a new source to the SourceNames collection. It is similar to SourceNamesAdd, but it accepts a third parameter, backfill, which allows you to specify the write-back mode for the source.

This method was introduced with the release of HotDocs 2005 SP2.

Syntax

void SourceNamesAdd2 ( string sourceName, HotDocs.HDVARTYPE varType, HotDocs.HDMappingBackfill backfill )

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
backfill The write-back mode for the source.