Click or drag to resize
IUserAccessiableIndexOf Method
Will return the array index of a value within the array.

Namespace: SurveyToGo.UserLogic.Interfaces
Assembly: UserLogicInt.Pocket (in UserLogicInt.Pocket.dll) Version: 1.0.4.0
Syntax
C#
int IndexOf(
	DVar inValue,
	params DVar[] inArray
)

Parameters

inValue
Type: SurveyToGo.UserLogic.InterfacesDVar
Specific Value
inArray
Type: SurveyToGo.UserLogic.InterfacesDVar
Array name

Return Value

Type: Int32
Integer
Examples
given the array: arr, that has these items {6,7,8,9} IndexOf(8,arr); will return the integer 2, as 8 is in placed in index 2
See Also