Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Method: int IndexOf(JsonValue)

Declaration

public virtual int IndexOf(
    JsonValue item
)

Summary

Returns the index of the first occurrence of the specified item within the current list if it is a JsonList; otherwise, throws.

Returns

The index of the item, or -1 if the item is not in the list.