IUserAccessiableNotContainsIter Method (Int32, Object, String) |
Relevant for single and multiple selection questions. Returns true if the value inValue wasn't selected, in a specific nested loops iterations state.
Namespace: SurveyToGo.UserLogic.InterfacesAssembly: UserLogicInt.Pocket (in UserLogicInt.Pocket.dll) Version: 1.0.4.0
Syntax bool NotContainsIter(
int inQuesIdx,
Object inValue,
string inIter
)
Parameters
- inQuesIdx
- Type: SystemInt32
the question index - inValue
- Type: SystemObject
the value to check if wasn't selected - inIter
- Type: SystemString
the nested loops iteration indexes list
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.
NotContainsIter(QRef(10), 3, CreateMultiIterationsString(2, 3, 1)) will return 'true' if answer 3 wasn't 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