QuestionCondition class
Revision as of 10:44, 25 April 2022 by Administrator (talk | contribs)
QuestionCondition
The question condition.
Parent class
Inherits from object
Constructors
- (int id "Question condition id") - Fetch exists question condition
- (ConditionType constant type "Condition type, use constant Condition_Type_xxx", QuestionTemplate question "Question contains this condition") - Create new condition and add it to question template
Methods
- (From object) string ToString() - The string representation of the object.
Properties
- ConditionType constant ConditionType { get; set; } - Get/Set ConditionType of the question condition, use constant Condition_Type_xxx
- string ConditionTypeAsString { get; } - Get ConditionType as string of the question condition
- string Expression { get; set; } - Get/Set Expression of the question condition
- int Id { get; } - Get Id of the question condition
- string Label { get; set; } - Get/Set Label of the question condition
- string ObjectTypeName { get; } - The name of the type of object.
- int QuestionID { get; } - Get QuestionID of the question condition
- string Range { get; set; } - Get/Set Range of the question condition
- Dictionary Replacements { get; set; } - Get/Set Replacements of the question condition (only valid for ReplaceIf). Its value is a Dictionary with key is label to replace and value is LocalizedString
- (From object) TypeInformation TypeInformation { get; } - Get information about this class.