var instance = new Vintasoft.Imaging.UI.UIElements.WebUiElementStateCollectionJS(states); var value; // Type: number // Parameters var state; // Type: WebUiElementStateJS value = instance.indexOf(state);
function indexOf(
stateThe WebUiElementStateJS object to search for.: WebUiElementStateJS
) : number;
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.