IUserAccessiableGetAnswersChoiceIter Method (Int32, Int32, Int32, Boolean) |
Relevant mainly for multiple selection grid questions. Returns an array of the answers that were selected in a specific topic in a specific iteration in a randomized order
Namespace: SurveyToGo.UserLogic.InterfacesAssembly: UserLogicInt.Pocket (in UserLogicInt.Pocket.dll) Version: 1.0.4.0
Syntax int[] GetAnswersChoiceIter(
int inQuesIdx,
int inTopicIdx,
int inIter,
bool inRandom
)
Parameters
- inQuesIdx
- Type: SystemInt32
The selected question index - inTopicIdx
- Type: SystemInt32
- inIter
- Type: SystemInt32
The iteration index - inRandom
- Type: SystemBoolean
True to get a randomized order of the answers in the returned array or False to keep the order as it is
Return Value
Type:
Int32array of the answers that were selected
Examples
For the commend: GetAnswersChoice(QRef(1),3,4,true) - the following code will return an array with the answers selected in the 4th
topic and in the 4th iteration in a randomized order
See Also