Click or drag to resize
IUserAccessiableContainsChoiceIter Method (Int32, Int32, Object, Int32)
Relevant for single and multiple selection grid questions. Returns true if the value was selected in a specific topic in a specific iteration and false otherwise

Namespace: SurveyToGo.UserLogic.Interfaces
Assembly: UserLogicInt.Pocket (in UserLogicInt.Pocket.dll) Version: 1.0.4.0
Syntax
C#
bool ContainsChoiceIter(
	int inQuesIdx,
	int inTopicIndex,
	Object inValue,
	int inIter
)

Parameters

inQuesIdx
Type: SystemInt32
The selected question index
inTopicIndex
Type: SystemInt32
The selected topic index
inValue
Type: SystemObject
value to check
inIter
Type: SystemInt32
The selected iteration index

Return Value

Type: Boolean
true if the question contains the value in a specific topic and iteration or false otherwise
Examples
For the commend: ContainsChoiceIter(QRef(1),3,2,4) - the following code will return true if answer number 2 was selected as one of the answers of topic 3 in the 4th iteration.
See Also