Click or drag to resize
IUserAccessiableSortAnswers Method (Int32, Boolean)
The function sorts the answers by lexicographical order from Z-A

Namespace: SurveyToGo.UserLogic.Interfaces
Assembly: UserLogicInt.Pocket (in UserLogicInt.Pocket.dll) Version: 1.0.4.0
Syntax
C#
void SortAnswers(
	int inQuesIdx,
	bool inDesc
)

Parameters

inQuesIdx
Type: SystemInt32
Question index
inDesc
Type: SystemBoolean
"True" or "False"
Examples
For question 4 and with several topics and "true" the following code will sort the topics by a lexicographical order from Z-A. SortAnswers(QRef(4), true);
See Also