JVCL Help:TJvStoredValues.IndexOf

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Summary

Finds the index number of a stored value in the Items array from its name.


Pascal

 functionIndexOf(constName: string): Integer;


Parameters

Parameters Description
const Name: string Specifies the name of the stored value as the Name parameter.


Return Value

Returns a value from zero (the first position) to Count - 1, if Items contains a stored value with the specified Name. Otherwise the return value is -1.


Description

Use the IndexOf method to locate the position of a stored value in the Items property array.


See Also

TJvStoredValue.Name, TJvStoredValues.Items


About

Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page