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.

AnswerOption class

From Catglobe Wiki
Revision as of 09:35, 25 April 2022 by Administrator (talk | contribs) (Created page with "{{CGscriptClass_Template |Name=<nowiki>AnswerOption</nowiki> |Description=<nowiki>The answer option template</nowiki> |InheritsFrom=object|Constructors= {{CGscriptConstructors...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

AnswerOption



The answer option template

Parent class

Inherits from object

Constructors

  • (QuestionTemplate question "The question contains this answer option") - Create new answer option and add it into question. Default its value is max options + 1
  • (int id "Answer option id") - Fetch exist answer option template

Methods

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

Properties

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