AnswerCollection.AddAnswer Method

This method creates a new Answer object and adds it to the AnswerCollection. If the answer already exists in the answer collection, its value will be replaced with the value in the value parameter.

Syntax

public void AddAnswer ( string varName , HotDocs.Server.Interop.ansType varType , object value , int repeatValue1 , int repeatValue2 , int repeatValue3 , int repeatValue4 )

Parameters Description
varName The variable name.
varType The variable type from the ansType enumeration.
value The Value of the answer.
repeatValue1 The first repeat index.
repeatValue2 The second repeat index.
repeatValue3 The third repeat index.
repeatValue4 The fourth repeat index.