Click or drag to resize
IUserAccessiableContainsIterOneOf Method (Int32, String, Object)
Relevant for single and multiple selection questions. Returns true if any of the values was selected, in a specific nested loops iterations state.

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

Parameters

inQuesIdx
Type: SystemInt32
the question index
inIter
Type: SystemString
the nested loops iteration indexes list
inValues
Type: SystemObject

Return Value

Type: Boolean
bool
Examples
Loop chapter C is nested in Loop chapter B that is nested in loop chapter A. All loops chapters iterates a maximal number of 3 iterations each. Question index 10 is a multiple selection question with 5 answers, located inside loop chapter C. ContainsIterOneOf(QRef(10), CreateMultiIterationsString(2, 3, 1), 2, 3, 5) will return 'true' if any answer out of answers 2, 3 and 5, was selected in question 10, while loop A was in iteration index 2, loop B was in iteration index 3 and loop C as in iteration index 1.
See Also