Click or drag to resize
Askia

ISurveyInsertFromQuestionsTemplate Method

Insert questions from a given template to a specific destination

Namespace:  AskiaCore
Assembly:  AskiaCore (in AskiaCore.dll) Version: 6.0.0-build000000000000000000000000000000000000000001
Syntax
IStructureModificationResult InsertFromQuestionsTemplate(
	IQuestionsTemplate template,
	IEnumerable<IDynamicSetting> settings,
	int targetParentId,
	int targetPosition
)

Parameters

template
Type: AskiaCoreIQuestionsTemplate
Template from which questions will be crafted
settings
Type: System.Collections.GenericIEnumerableIDynamicSetting
Dictionary of settings (values) for the properties of the question.
targetParentId
Type: SystemInt32
Id of the parent target question
targetPosition
Type: SystemInt32
Position at which the questions will be moved as the parent target child

Return Value

Type: IStructureModificationResult
Return the result of the insertion
See Also