IUserAccessiableInArray Method (Int32, Int32) |
returns True\False if a given value is within a given array.
Namespace: SurveyToGo.UserLogic.InterfacesAssembly: UserLogicInt.Pocket (in UserLogicInt.Pocket.dll) Version: 1.0.4.0
Syntax bool InArray(
int inValue,
int[] inArray
)
Parameters
- inValue
- Type: SystemInt32
Given value - inArray
- Type: SystemInt32
Array name
Return Value
Type:
BooleanBoolean Value, true\false
Examples
Given the array: arr, with values {2,3,4};
InArray(7,arr); will return false, as 7 is not in the given array.
See Also