Parameters
- state
- The WebUiElementStateJS object to search for.
Return Value
The zero-based index of the collection, or -1 if the WebUiElementStateJS object is not found in the collection.
| Exception | Description |
|---|---|
| Thrown if argument has wrong type. |