RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TList Members

The following tables list the members exposed by TList.

 
Name 
Description 
 
Get 
This is Get, a member of class TList. 
 
Grow 
This is Grow, a member of class TList. 
 
Responds when items are added, removed, or extracted from the list. 
 
Put 
This is Put, a member of class TList. 
 
This is SetCapacity, a member of class TList. 
 
This is SetCount, a member of class TList. 
 
Name 
Description 
 
Add 
Inserts a new item at the end of the list. 
 
Responds after the last constructor has executed. 
 
Copies elements of one list to another. 
 
Responds before the first destructor executes. 
 
Returns a pointer to the runtime type information (RTTI) table for the object type. 
 
Returns a string indicating the type of the object instance (as opposed to the type of the variable passed as an argument). 
 
Determines whether an object is of a specific type. 
 
Returns the type of the immediate ancestor of a class. 
 
Returns the class reference for the object's class. 
 
Performs finalization on long strings, variants, and interface variables within a class. 
 
Deletes all items from the list. 
 
Constructs an object and initializes its data before the object is first used. 
 
Provides the interface for a method that processes message records. 
 
Removes the item at the position given by the Index parameter. 
 
Destroys an instance of TList
 
Calls message-handling methods for the object, based on the contents of the Message parameter. 
 
Checks if the current instance and the parameter are equal. 
 
This is the overview for the Error method overload. 
 
Swaps the position of two items in the Items array. 
 
Increases the Capacity of the list. 
 
Removes a specified item from the list. 
 
This is the overview for the FieldAddress method overload. 
 
Returns Items[0]. 
 
Free 
Destroys an object and frees its associated memory, if necessary. 
 
Deallocates memory allocated by a previous call to the System::TObject::NewInstance method. 
 
Returns a TList enumerator. 
 
Returns an integer containing the hash code. 
 
Retrieves a specified interface. 
 
Returns the entry for a specific interface implemented in a class. 
 
Returns a pointer to a structure containing all of the interfaces implemented by a given class. 
 
Returns the index of the first entry in the Items array with a specified value. 
 
Determines the relationship of two object types. 
 
Initializes a newly allocated object instance to all zeros and initializes the instance's virtual method table pointer. 
 
Adds an object to the Items array at the position specified by Index
 
Returns the size in bytes of each instance of the object type. 
 
Last 
Returns Items[Count - 1]. 
 
This is the overview for the MethodAddress method overload. 
 
Returns the name of a class method by address. 
 
Move 
Changes the position of an item in the Items array. 
 
Allocates memory for an instance of an object type and returns a pointer to that new instance. 
 
Pack 
Deletes all nil (Delphi) or NULL (C++) items from the Items array. 
 
Deletes the first reference to the Item parameter from the Items array. 
 
Handles exceptions in methods declared using the safecall calling convention. 
 
Sort 
Performs a QuickSort on the list based on the comparison function Compare. 
 
Returns a string containing the class name. 
 
Returns a string containing the unit name. 
 
Name 
Description 
 
Specifies the allocated size of the array of pointers maintained by the TList object. 
 
Indicates the number of entries in the list that are in use. 
 
Lists the object references. 
 
List 
Specifies the array of pointers that make up the Items array. 
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!