Click or drag to resize
Askia

IQuestionMoveResponses Method (IEnumerableInt32, Int32, Int32, IModifiedEntities)

Move responses to a given destination

Namespace:  AskiaCore
Assembly:  AskiaCore (in AskiaCore.dll) Version: 6.0.0-build000000000000000000000000000000000000000001
Syntax
bool MoveResponses(
	IEnumerable<int> responseIds,
	int targetParentId,
	int targetPosition,
	out IModifiedEntities modifiedEntities
)

Parameters

responseIds
Type: System.Collections.GenericIEnumerableInt32
Ids of responses to move
targetParentId
Type: SystemInt32
Id of the parent target response
targetPosition
Type: SystemInt32
Position at which the responses will be moved as the parent target child
modifiedEntities
Type: AskiaCoreIModifiedEntities
Collection of entities affected by the movement

Return Value

Type: Boolean
Return the result of the movement
Remarks
TODO Movement rules
See Also