| IRoutingCollectionCreate Method (String, RoutingStartType, Int32, Int32) |
Creates a new routing in the collection given its name, start type, starting question ID and position
Namespace:
AskiaCore
Assembly:
AskiaCore (in AskiaCore.dll) Version: 6.0.0-build000000000000000000000000000000000000000001
Syntax IRouting Create(
string name,
RoutingStartType startType,
int startQuestionId,
int position
)
Function Create (
name As String,
startType As RoutingStartType,
startQuestionId As Integer,
position As Integer
) As IRouting
IRouting^ Create(
String^ name,
RoutingStartType startType,
int startQuestionId,
int position
)
Parameters
- name
- Type: SystemString
Name of the routing to create - startType
- Type: AskiaCoreRoutingStartType
Start type of the routing (question, end interview, all questions, etc.) - startQuestionId
- Type: SystemInt32
Id of the question from where the routing will start - position
- Type: SystemInt32
The position at which the routing should be created
Return Value
Type:
IRoutingReturn the newly created routing
See Also