indexOf Method

Summary

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

Syntax
TypeScript
JavaScript
LeadCollection.prototype.indexOf = function( 
   item 
) 
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 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.