Click or drag to resize
IUserAccessiableGetAnswersChoice Method (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 randomized order

Namespace: SurveyToGo.UserLogic.Interfaces
Assembly: UserLogicInt.Pocket (in UserLogicInt.Pocket.dll) Version: 1.0.4.0
Syntax
C#
int[] GetAnswersChoice(
	int inQuesIdx,
	int inTopicIdx,
	bool inRandom
)

Parameters

inQuesIdx
Type: SystemInt32
The selected question index
inTopicIdx
Type: SystemInt32
inRandom
Type: SystemBoolean
True to get a random order of the answers in the returned array or False to keep the order as it is

Return Value

Type: Int32
array of the answers that were selected
Examples
For the commend: GetAnswersChoice(QRef(1),3, true) - the following code will return an array with the answers selected in the 4th topic in a randomized order
See Also