Click or drag to resize
Askia

IQuestion Methods

The IQuestion type exposes the following members.

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