Toggle menu
862
3.8K
30.2K
279.1K
Catglobe Wiki
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

QuestionGroupLeaf class

From Catglobe Wiki

QuestionGroupLeaf


Question group leaf.

Parent class

Inherits from QuestionGroupTree

Methods

  • Array of QuestionGroupTree GetChildGroups() - Return all child groups, if empty then it is a leaf.
  • (From object) string ToString() - The string representation of the object.

Properties

  • (From QuestionGroupTree) Array of string AllQuestions { get; } - Labels of all questions in this group
  • int Count { get; } - How many children in this group
  • (From QuestionGroupTree) string GroupName { get; } - Name of question group
  • string ObjectTypeName { get; } - The name of the type of object.
  • (From QuestionGroupTree) string SequenceType { get; } - Which kind of question group is it
  • (From object) TypeInformation TypeInformation { get; } - Get information about this class.


Examples

QuestionGroupLeaf is returned when calling QuestionGroupRoot_class

number qnaireRId = 15644704;
QuestionGroupRoot root = Questionnaire_getQuestionGroups(qnaireRId);
QuestionGroupLeaf leaf = root.FindByQuestion("Q1");
print(leaf.GroupName);//G2