indexOf Method (AnnRoles)

Summary

Gets the index of a string in this list.

Syntax

JavaScript Syntax
AnnRoles.prototype.indexOf = function(item)
TypeScript Syntax
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

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Annotations.Core Assembly
Click or drag to resize