Click or drag to resize
IUserAccessiableSetAnswerChoiceIter Method (Int32, Int32, Int32, DVar)
It will set the relevant answers in the specific topic and in a specific iteration with the corresponding values in inValues

Namespace: SurveyToGo.UserLogic.Interfaces
Assembly: UserLogicInt.Pocket (in UserLogicInt.Pocket.dll) Version: 1.0.4.0
Syntax
C#
bool SetAnswerChoiceIter(
	int inQuesIdx,
	int inTopic,
	int inIter,
	params DVar[] inValues
)

Parameters

inQuesIdx
Type: SystemInt32
The selected question index
inTopic
Type: SystemInt32
inIter
Type: SystemInt32
The iteration index
inValues
Type: SurveyToGo.UserLogic.InterfacesDVar
values to set

Return Value

Type: Boolean
True for succses setting the values false otherwise
Examples
For the commend: SetAnswerChoice(QRef(1),3,4,2,5,6) - the following code will set the answers 2,5 and 6 in the 3rd topic and in the 4th iteration as selected
See Also