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

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

Parameters

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

Return Value

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