[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] | Reference for unit 'Objects' (#rtl)

# TUnSortedStrCollection

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Unsorted string collection

## Declaration

Source position: objects.pp line 487

`type TUnSortedStrCollection = object(TStringCollection)`
`procedure Insert(); virtual;` |  | Insert a new string in the collection.
`end;`

## Inheritance

`TUnSortedStrCollection` |  | Unsorted string collection
`TStringCollection` |  | Collection of pascal strings.
`TSortedCollection` |  | Abstract sorted collection.
`TCollection` |  | Manage a collection of pointers of objects
`TObject` |  | Basis of all objects

## Description

The TUnSortedStrCollection object manages an unsorted list of strings. To this end, it overrides the TSortedCollection.Insert method to add strings at the end of the collection, rather than in the alphabetically correct position.

Take care, the Search and IndexOf methods will not work on an unsorted string collection.