Tlist
is
used to stores an array of pointers, is often used to maintain lists
of objects. TList
has
properties and methods to
- Add or delete the objects in the list.
- Rearrange the objects in the list.
- Locate and access objects in the list.
- Sort the objects in the list.
TStringList
maintains
a list of strings.TStringList
is
used to
- Add or delete strings at specified positions in the list.
- Rearrange the strings in the list.
- Access the string at a particular location.
- Read the strings from or write the strings to a file or stream.
- Associate an object with each string in the list.
- Store and retrieve strings as name-value pairs.
- Sort the strings in the list.
- Prohibit duplicate strings in sorted lists.
- Respond to changes in the contents of the list.
- Control whether strings are located, sorted, and identified as duplicates in a case-sensitive or case-insensitive manner.
No comments:
Post a Comment