LEADTOOLS JavaScript (Leadtools)

IndexOf Method

Show in webframe
The object to locate. The value can be null.
Searches for the specified object and returns the 0-based index of the first occurrence within the entire LeadCollection.
Syntax
 function Leadtools.LeadCollection.indexOf( 
   item 
)

Parameters

ParameterTypeDescription
itemobjectThe object to locate. The value can be null.

Return Value

TypeDescription
int The 0-based index of the first occurance of item whithin 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.

See Also

Reference

LeadCollection Object
LeadCollection Members

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.