OutcomeSet class
Revision as of 09:22, 30 January 2019 by Administrator (talk | contribs)
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)