Click or drag to resize
IUserAccessiableGetParentIterationName Method
This function gets a level number within the nested loops and returns the name of the current iteration in that loop level.

Namespace: SurveyToGo.UserLogic.Interfaces
Assembly: UserLogicInt.Pocket (in UserLogicInt.Pocket.dll) Version: 1.0.4.0
Syntax
C#
string GetParentIterationName(
	int inParentLevel
)

Parameters

inParentLevel
Type: SystemInt32
an integer indicating the loop level (how much levels to go up from the loop I'm currently in)

Return Value

Type: String
String
Examples
Loop chapter B is nested in loop chapter A. Loop A iterates on an an answer scale with these values: "aaa", "bbb", "ccc". Loop A is currently on its second iteration (iteration "bbb"). Calling GetParentIterationName(1) from inside Loop B, will in this case return "bbb". "1" sent as the parameter to the function, is because loop A is one level above loop B.
See Also