System.Contnrs.TObjectList Methods
InheritedProtected
| Add | public | Inserts an object 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 | |
| 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 | Creates and initializes a TObjectList. |
| 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 | |
| Dispatch | public | Calls message-handling methods for the object, based on the contents of the Message parameter. |
| DisposeOf | 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 object from the list without freeing it. |
| ExtractItem | public | |
| FieldAddress | public | Returns the address of a published object field. |
| FindInstanceOf | public | Finds the first instance of a specified class in the list. |
| 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. |
| GetItem | protected | |
| Grow | protected | Increases the list capacity. |
| IndexOf | public | Returns the index of the first object in the list with a specified value. |
| IndexOfItem | public | |
| 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 list at a specified position. |
| InstanceSize | public | Returns the size in bytes of each instance of the object type. |
| Last | public | Returns the object at the end of the Items array. |
| 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 | |
| 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 | Removes a specified object from the list and (if OwnsObjects is true) frees the object. |
| RemoveItem | public | |
| 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. |
| SetItem | protected | |
| 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. |