Click or drag to resize
Askia

IQuestion Interface

Question interface

Namespace:  AskiaCore
Assembly:  AskiaCore (in AskiaCore.dll) Version: 6.0.0-build000000000000000000000000000000000000000001
Syntax
public interface IQuestion : IRecordEntity

The IQuestion type exposes the following members.

Properties
  NameDescription
Public propertyAllowsNoResponses
Indicates if answering the question is mandatory
Public propertyAlwaysLinkExclusiveResponses
Indicates if links include exclusive responses
Public propertyAnalyseCaption
Analyse caption of the question
Public propertyAnonymisationType
Anonymisation type of the question.
Public propertyCategories
Categories collection for the question
Public propertyContainerElement
Element containing the question
Public propertyControlElement
Control element of the question
Public propertyCreatedAt
DateTime the record was created at
(Inherited from IRecordEntity.)
Public propertyCreatedBy
Id of the user which created the record
(Inherited from IRecordEntity.)
Public propertyDateTimeType
DateTime type of the question
Public propertyDecimalPrecision
Number of digits after decimal point for numeric questions
Public propertyDeletedAt
DateTime at which the record was last deleted
(Inherited from IRecordEntity.)
Public propertyDeletedBy
Id of the user which last deleted the record
(Inherited from IRecordEntity.)
Public propertyFirstChild
First child question
Public propertyId
Id of the record
(Inherited from IRecordEntity.)
Public propertyImportationSettings
Importation settings for the question
Public propertyIsAtPageBorder
Indicates if the question is currently either the first or the last one in its page
Public propertyIsExcludedFromTranslation
Indicates that the question should not be translated
Public propertyIsFirstInPage
Indicates if the question is currently the first one in its page
Public propertyIsLastInPage
Indicates if the question is currently the last one in its page
Public propertyIsLevelDeveloped
Indicates if the level is developed in Analyse
Public propertyIsLevelLinked
Indicates if the link is done on the level
Public propertyIsProbability
Indicates if the question is a probability question
Public propertyIsRanked
Indicates if the question is ranked
Public propertyIsRecordable
Indicates if recording can be done on the question (CATI)
Public propertyIsScaled
Indicates if the question is scaled
Public propertyIsVisibleInAnalyse
Indicates if the question is visible in Analyse
Public propertyIVRNumber
IVR Number of the question
Public propertyLastChild
Last child question
Public propertyLastError
Last error that occurred
(Inherited from IRecordEntity.)
Public propertyLinkedQuestionId
Id of the linked question
Public propertyLinkedResponses
Linked responses collection for the question
Public propertyLinkType
Link type of the questio
Public propertyMainCaption
The main caption of the question
Public propertyMaxDateTimeValue
Maximum value for datetime questions
Public propertyMaxResponseCount
Maximum number of responses
Public propertyMaxValue
  • Maximum value for numeric questions
  • Maximum number of characters for open questions
Public propertyMaxVisibleResponses
Maximum number of visible responses in a loop iteration
Public propertyMergingPageElementId
Id of the associated merged page if there is one
Public propertyMinDateTimeValue
Minimum value for datetime questions
Public propertyMinResponseCount
Minimum number of responses
Public propertyMinValue
  • Minimum value for numeric questions
  • Minimum number of characters for open questions
Public propertyNextSibling
Next sibling question
Public propertyNoResponseEntry
The entry equivalent to a non response
Public propertyPageElement
Page element containing the question
Public propertyParentId
Id of the parent question
Public propertyPattern
Regular expressions to validate the response of open questions
Public propertyPosition
Position of the question
Public propertyPrevSibling
Previous sibling question
Public propertyQuestionIdToIncrement
Id of the question to increment
Public propertyResponses
Responses collection for the question
Public propertyRotationSeed
Seed of the random rotation
Public propertyRotationType
Rotation type of the question
Public propertyShortcut
Shortcut of the question
Public propertyType
Type of the question
Public propertyUpdatedAt
DateTime at which the record was last updated
(Inherited from IRecordEntity.)
Public propertyUpdatedBy
Id of the user which last updated the record
(Inherited from IRecordEntity.)
Public propertyUserData
Data the user can add to the question
Public propertyVisibility
Visibility type of the question
Top
Methods
  NameDescription
Public methodAddToScenario
Add the question to a given scenario
Public methodDelete
Deletes the record in the database
(Inherited from IRecordEntity.)
Public methodGetAnalyseCaptions
Retrieve Analyse captions for all languages in the survey.
Public methodGetMainCaptions
Retrieve main captions for all languages in the survey.
Public methodGetRecursiveLinkedResponses
Retrieve all linked responses recursively based on link type
Public methodGetRecursiveLinkedResponses(Int32)
Retrieve all linked responses recursively based on link type and a visibility source question id
Public methodGetScenarios
Retrieve a list the scenarios containing this question
Public methodIndentResponses(IEnumerableInt32)
Indent responses
Public methodIndentResponses(IEnumerableInt32, IModifiedEntities)
Indent responses
Public methodIsDeleted
Indicates if the record is flagged as deleted
(Inherited from IRecordEntity.)
Public methodIsLoaded
Checks if the record is successfully loaded from the database
(Inherited from IRecordEntity.)
Public methodIsReachable
Defines if the question is reachable
Public methodMoveResponses(IEnumerableInt32, Int32, Int32)
Move responses to a given destination
Public methodMoveResponses(IEnumerableInt32, Int32, Int32, IModifiedEntities)
Move responses to a given destination
Public methodReload
Reloads the record
(Inherited from IRecordEntity.)
Public methodRemoveFromScenario
Remove the question from a given scenario
Public methodRestore
Restores the deleted record in the database
(Inherited from IRecordEntity.)
Public methodSave
Saves the record in the database
(Inherited from IRecordEntity.)
Public methodSaveMovedResponsesPositions
Saves all the positions and parent ids of the responses
Public methodSaveResponses
Saves a batch of responses in one go, all or nothing.
Public methodSetAnalyseCaptions
Set Analyse captions for languages in the survey.
Public methodSetMainCaptions
Set main captions for languages in the survey.
Public methodUnindentResponses(IEnumerableInt32)
Unindent responses
Public methodUnindentResponses(IEnumerableInt32, IModifiedEntities)
Unindent responses
Top
See Also