QuestionnaireProperty class

From Catglobe Wiki
Revision as of 11:36, 25 April 2022 by Administrator (talk | contribs) (Created page with "{{CGscriptClass_Template |Name=<nowiki>QuestionnaireProperty</nowiki> |Description=<nowiki>The questionnaire property.</nowiki> |InheritsFrom=object|Constructors= {{CGscriptCo...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

QuestionnaireProperty



The questionnaire property.

Parent class

Inherits from object

Constructors

  • (PropertyType constant type "Property type. Use constant named Question_Property_xxx", QuestionnaireTemplate questionnaire "Questionnaire template contains this property") - Create new property and add it to questionnaire properties

Methods

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

Properties

  • int Id { get; } - Get id of the questionnaire property
  • bool IsLocalize { get; } - Check value type of property should be use as LocalizedString
  • bool IsSpecialText { get; } - Get IsSpecialText of the questionnaire property that marked by system
  • string Name { get; set; } - Get or set Name of the this property.
  • string ObjectTypeName { get; } - The name of the type of object.
  • PropertyType constant PropertyType { get; } - Get constant of the property's type
  • string PropertyTypeAsString { get; } - Get PropertyType as string
  • (From object) TypeInformation TypeInformation { get; } - Get information about this class.
  • string TypeValue { get; set; } - Get or set TypeValue of this property
  • object Value { get; set; } - Get or set value of the this property. Base on IsLocalize, it can be a String or LocalizedString