Visual Basic (Declaration) | |
---|---|
Public Function IndexOf( _ ByVal item As JSONElement _ ) As Integer |
C# | |
---|---|
public int IndexOf( JSONElement item ) |
Parameters
- item
- The JSONElement to locate in the JSONArray.
Return Value
The zero-based index of the first occurrence of item within the entire JSONArray, if found; otherwise, -1.Requirements
Platforms: Windows 8, Windows 7, Windows Vista, Windows XP Professional, Windows 2000 - Windows Server family: 2012, 2008.R2, 2008, 2003, 2000