SubQuestion class

From Catglobe Wiki
Revision as of 10:35, 25 April 2022 by Administrator (talk | contribs) (Created page with "{{CGscriptClass_Template |Name=<nowiki>SubQuestion</nowiki> |Description=<nowiki>The sub question template</nowiki> |InheritsFrom=object|Constructors= {{CGscriptConstructors_T...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

SubQuestion



The sub question template

Parent class

Inherits from object

Constructors

  • (QuestionTemplate question "The question contains this sub question") - Create new sub question and add it into question
  • (int id "Sub question id") - Fetch exist sub question template

Methods

  • (From object) string ToString() - The string representation of the object.

Properties

  • bool HasData { get; } - Check if this sub question contains data or not
  • int Id { get; } - Sub question id
  • string ObjectTypeName { get; } - The name of the type of object.
  • LocalizedString Text { get; set; } - Sub question text
  • (From object) TypeInformation TypeInformation { get; } - Get information about this class.