IUserAccessiableIndexOfInt Method |
Will return the array index of a value within the array.
Namespace: SurveyToGo.UserLogic.InterfacesAssembly: UserLogicInt.Pocket (in UserLogicInt.Pocket.dll) Version: 1.0.4.0
Syntax int IndexOfInt(
int inValue,
params int[] inArray
)
Parameters
- inValue
- Type: SystemInt32
Specific Value - inArray
- Type: SystemInt32
Array name
Return Value
Type:
Int32Integer
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