indexOf Method

Summary

Searches for the specified object and returns the zero-based index of the first occurrence within the entire collection.

Syntax

JavaScript Syntax
AnnAutomationObjects.prototype.indexOf = function( 
   item 
) 
TypeScript Syntax
indexOf( 
   item: AnnAutomationObject 
): number; 

Parameters

item

The object to locate in the collection.

Return Value

The zero-based index of the first occurrence of item within the entire collection, if found; otherwise, –1.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Automation Assembly