IndexOf Method (item)

Json.NET

Json.NET - Quick Starts & API Documentation IndexOf Method (item)
NamespacesNewtonsoft.Json.LinqJArrayIndexOf(JToken)
Determines the index of a specific item in the IList<(Of <(<'T>)>)>.
Declaration Syntax
C# Visual Basic Visual C++
public int IndexOf(
	JToken item
)
Public Function IndexOf ( _
	item As JToken _
) As Integer
public:
virtual int IndexOf(
	JToken^ item
) sealed
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.

Assembly: Newtonsoft.Json (Module: Newtonsoft.Json) Version: 4.5.0.0 (4.5.6.14930)