JsonArray.IndexOf(DateTime) Method
Version: Available or changed with runtime version 1.0.
Determines the index of a specific value in the JsonArray.
Syntax
Index := JsonArray.IndexOf(Value: DateTime)
Parameters
JsonArray
Type: JsonArray
An instance of the JsonArray data type.
Value
Type: DateTime
Return Value
Index
Type: Integer
The position of the value in the JsonArray. -1 will be returned if Value cannot be found in the array.
Remarks
Note
The JsonArray is 0-based by design.
See Also
JsonArray Data Type
Get Started with AL
Developing Extensions
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for