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.

OutcomeSet class: Difference between revisions

From Catglobe Wiki
No edit summary
No edit summary
Line 21: Line 21:
{{CGscriptProperties_Template|ReturnType=TypeInformation|Name=<nowiki>TypeInformation</nowiki>|HasGetter=1|Description=<nowiki>Get information about this class.</nowiki>}}
{{CGscriptProperties_Template|ReturnType=TypeInformation|Name=<nowiki>TypeInformation</nowiki>|HasGetter=1|Description=<nowiki>Get information about this class.</nowiki>}}
}}
}}
=== <span style="color:#DF8621">'''Examples'''</span> ===
=== <span style="color:#DF8621">'''Examples'''</span> ===
<source lang="javascript">
<source lang="javascript">

Revision as of 08:22, 30 January 2019

OutcomeSet



Outcome set for cati questionnaires.

Constructors

  • (string name "Name of global outcome set") - Load existing global outcome set
  • (int primaryKey "Key of outcome set") - Load existing outcome set

Methods

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

Properties

  • bool Active { get; } - Get if currently active
  • string Description { get; } - Get description of outcome set
  • int Id { get; } - Get id of outcome set
  • bool IsGlobal { get; } - Get if global available set, or local to a questionnaire
  • array Items { get; } - Get/set items
  • string Name { get; } - Get name of outcome set
  • string ObjectTypeName { get; } - The name of the type of object.
  • TypeInformation TypeInformation { get; } - Get information about this class.

Examples

number qnaireRid = 15639974;
CatiSettings settings = new CatiSettings(qnaireRid);
OutcomeSet outComeSet = settings.OutcomeSet;
outComeSet.Name;//CATI - Ad Hoc (svarer ikke = 2 timer)