VarMap.SourceNamesItem Method

This method retrieves the source name and source type from the SourceNames collection. The Index parameter is the index number for a position in the SourceNames collection. (See also SourceNamesItem2.)

Syntax

void SourceNamesItem ( int index, out string sourceName, out HotDocs.HDVARTYPE varType )

Parameters Description
Index The index of the item in the SourceNames collection to retrieve.
sourcename The name of the source.
vartype The variable type of 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