indexOf Method

Summary

Gets the index of a string in this list.

Syntax
TypeScript
JavaScript
AnnRoles.prototype.indexOf = function( 
   item 
) 
indexOf( 
   item: string 
): number; 

Parameters

item

The string to query.

Return Value

The 0-based index of item if it exists in the list; otherwise, -1.

Requirements

Target Platforms

Help Version 23.0.2024.3.4
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Engine Assembly

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