System.Classes.TList Methods
InheritedProtected
Add | public | Inserts a new item at the end of the list. |
AfterConstruction | public | Responds after the last constructor has executed. |
Assign | public | Copies elements of one list to another. |
BeforeDestruction | public | Responds before the first destructor executes. |
CheckDisposed | protected | This method is deprecated. |
ClassInfo | public | Returns a pointer to the run-time type information (RTTI) table for the object type. |
ClassName | public | Returns a string indicating the type of the object instance (as opposed to the type of the variable passed as an argument). |
ClassNameIs | public | Determines whether an object is of a specific type. |
ClassParent | public | Returns the type of the immediate ancestor of a class. |
ClassType | public | Returns the class reference for the object's class. |
CleanupInstance | public | Performs finalization on long strings, variants, and interface variables within a class. |
Clear | public | Deletes all items from the list. |
Create | public | |
DefaultHandler | public | Provides the interface for a method that processes message records. |
Delete | public | Removes the item at the position given by the Index parameter. |
Destroy | public | Destroys an instance of TList. |
Dispatch | public | Calls message-handling methods for the object, based on the contents of the Message parameter. |
DisposeOf (deprecated) | public | DisposeOf forces the execution of the destructor code in an object. |
Equals | public | Checks whether the current instance and the Obj parameter are equal. |
Error | public | Raises an EListError exception. |
Exchange | public | Swaps the position of two items in the Items array. |
Expand | public | Increases the Capacity of the list. |
Extract | public | Removes a specified item from the list. |
ExtractItem | public | Removes a specified item from the list. |
FieldAddress | public | Returns the address of a published object field. |
First | public | Returns Items[0]. |
Free | public | Destroys an object and frees its associated memory, if necessary. |
FreeInstance | public | Deallocates memory allocated by a previous call to the NewInstance method. |
Get | protected | Returns an item given its index in the list. |
GetDisposed | protected | Getter for the Disposed property. |
GetEnumerator | public | Returns a TList enumerator. |
GetHashCode | public | Returns an integer containing the hash code. |
GetInterface | public | Retrieves a specified interface. |
GetInterfaceEntry | public | Returns the entry for a specific interface implemented in a class. |
GetInterfaceTable | public | Returns a pointer to a structure containing all of the interfaces implemented by a given class. |
GetIsEmpty | protected | |
Grow | protected | Increases the list capacity. |
IndexOf | public | Returns the index of the first entry in the Items array with a specified value. |
IndexOfItem | public | Returns the item's index. |
InheritsFrom | public | Determines the relationship of two object types. |
InitInstance | public | Initializes a newly allocated object instance to all zeros and initializes the instance's virtual method table pointer. |
Insert | public | Adds an object to the Items array at the position specified by Index. |
InstanceSize | public | Returns the size in bytes of each instance of the object type. |
Last | public | Returns Items[Count - 1]. |
MethodAddress | public | Returns the address of a class method by name. |
MethodName | public | Returns the name of a class method by address. |
Move | public | Changes the position of an item in the Items array. |
NewInstance | public | Allocates memory for an instance of an object type and returns a pointer to that new instance. |
Notify | protected | Responds when items are added, removed, or extracted from the list. |
operator [] | public | |
Pack | public | Deletes all nil (Delphi) or NULL (C++) items from the Items array. |
Put | protected | Stores an item at a specified position in the list. |
QualifiedClassName | public | Returns the qualified name of the class. |
Remove | public | Deletes the first reference to the Item parameter from the Items array. |
RemoveItem | public | Removes an item from the list. |
SafeCallException | public | Handles exceptions in methods declared using the safecall calling convention. |
SetCapacity | protected | Sets the value of the Capacity property. |
SetCount | protected | Sets the value of the Count property. |
Sort | public | Performs a QuickSort on the list based on the comparison function Compare. |
SortList | public | Performs a QuickSort on list of items. |
ToString | public | Returns a string containing the class name. |
UnitName | public | Returns the name of the unit where the class is defined. |
UnitScope | public | Returns the class's unit scope. |