function IndexOf(const Key: string): Integer;

 

Description

Returns the index of the first string Key in the list of key-value pairs with a specified value.

Call IndexOf to get the index for a specified key in the list, where the first object has index 0, the second object has index 1, and so on. If a key is not in the list, IndexOf returns -1. If a key appears more than once, IndexOf returns the index of the first appearance.

 

See also

Count

Keys

 

SecureBridge Components, Copyright © 2007-2024 Devart. All Rights Reserved. Provide Feedback Visit Forum Request Support