Json.NET - Quick Starts & API Documentation
IndexOf Method (item)
Namespaces ► Newtonsoft.Json.Linq ► JArray ► IndexOf(JToken)
Determines the index of a specific item in the IList<(Of <(<'T>)>)>.
Declaration Syntax
Parameters
- item (JToken)
- The object to locate in the IList<(Of <(<'T>)>)>.
Return Value
The index of item if found in the list; otherwise, -1.