Click or drag to resize
IUserAccessiableContainsSpecificRateIter Method (Int32, Int32, Int32, String)
Relevant mainly for Single Choice Grid Questions. Returns true if the inValue was selected in the inTopicIdx topic in the inQuesIdx question in nested loops iterations string inIter.

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

Parameters

inQuesIdx
Type: SystemInt32
the question index
inValue
Type: SystemInt32
the value to search if selected
inTopicIdx
Type: SystemInt32
the topic index to check if inValue selected in
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 single choice grid question with 5 topics and 3 answers, located inside loop chapter C. ContainsSpecificRateIter(QRef(10), 3, 4, CreateMultiIterationsString(2, 3, 1)) will return 'true' if answer 3 was coded in topic 4 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