Click or drag to resize
IUserAccessiableContainsChoiceOneOf Method
Relevant for single and multiple selection grid questions. Returns true if one of the values was selected in a specific topic and false otherwise

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

Parameters

inQuesIdx
Type: SystemInt32
The selected question index
inTopicIndex
Type: SystemInt32
The selected topic index
inValue
Type: SystemObject
values to check

Return Value

Type: Boolean
true if the the question contains one of the values in a specific topic or false otherwise
Examples
For the commend: ContainsChoiceOneOf(QRef(1),3,2,5,8) - the following code will return true if one or more of the answers 2,5 or 8 were selected as answers of topic 3.
See Also