VarMap.MappingItem2 Method

This method, like MappingItem, retrieves the variable name (varName) and source name (srcName) for a mapping in the collection. The Index parameter can either be an index number or the name of a HotDocs variable. It also allows you to retrieve variable types for the variable and source, and the current write-back mode for the mapping.

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

Syntax

void MappingItem2 ( object index, out string varName, out HotDocs.HDVARTYPE varType, out string srcName, out HotDocs.HDVARTYPE srcType, out HotDocs.HDMappingBackfill backfill )

Parameters Description
index The index of the item in the Mapping collection to retrieve. This can either be a number, which will return the mapping at the Index position in the collection, or a string, which is interpreted as the name of a HotDocs variable.
varname The name of the HotDocs variable in the mapping.
varType The variable type for the mapping item.
srcname The name of the source in the mapping.
srcType The source variable type for the mapping item.
backfill The write-back mode for the mapping item.