VarMap.SourceNamesItem2 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. It is similar to SourceNamesItem, but it accepts a fourth parameter, backfill, which returns the write-back mode for the source.

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

Syntax

void SourceNamesItem2 ( int index, out string sourceName, out HotDocs.HDVARTYPE varType, out HotDocs.HDMappingBackfill backfill )

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