indexOf Method

Summary

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

Syntax

JavaScript Syntax
LeadCollection.prototype.indexOf = function( 
   item 
) 
TypeScript Syntax
indexOf( 
   item: any 
): number; 

Parameters

item

The object to locate. The value can be null.

Return Value

The 0-based index of the first occurrence of item within the entire LeadCollection, if found; otherwise -1.

Remarks

The LeadCollection is searched forward starting at the first item and ending at the last item.

This method determines equality using the default equality comparer.

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 Assembly