Icon IndexOf Method

function IndexOf(AItem: TCollectionItem): Integer

function IndexOf(const AName: String): Integer

Available In: Client and Server Applications

Use this method to search for an item in the collection by its Index property.
Image