System.Classes.TStringList Methods
InheritedProtected
Add | public | Adds a new string to the list. |
AddObject | public | Adds a string to the list, and associates an object with the string. |
AddPair | public | Adds name-value pairs to the list of strings using fluent-style coding. |
AddStrings | public | |
AfterConstruction | public | Responds after the last constructor has executed. |
Append | public | Adds a string to the list. |
Assign | public | Sets, from a source object, the strings in the list and the possibly associated objects. |
AssignTo | protected | Copies the properties of an object to a destination object. |
BeforeDestruction | public | Responds before the first destructor executes. |
BeginUpdate | public | Enables the TStrings object to track when the list of strings is changing. |
Changed | protected | Fires an OnChange event. |
Changing | protected | Fires an OnChanging event. |
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 the strings from the list. |
CompareStrings | protected | Compares two strings. |
Contains | public | |
ContainsName | public | |
ContainsObject | public | |
Create | public | Creates an instance of a TStringList object. |
CustomSort | public | Sorts the strings in the list in a customized order. |
DefaultHandler | public | Provides the interface for a method that processes message records. |
DefineProperties | protected | Reads and writes the Strings property as if it were published. |
Delete | public | Removes the string specified by the Index parameter. |
Destroy | public | Destroys an instance of TStringList. |
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. |
EndUpdate | public | Enables the TStrings object to keep track of when the list of strings has finished changing. |
Equals | public | Compares the list of strings to the list from another TStrings object and returns true if the two lists match. |
Error | protected | Raises an EStringListError exception. |
Exchange | public | Swaps the position of two strings in the list. |
ExchangeItems | protected | |
ExtractName | protected | Returns the name portion of a string that is a name value pair. |
FieldAddress | public | Returns the address of a published object field. |
Find | public | Locates the index for a string in a sorted list and indicates whether a string with that value already exists in the list. |
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 a string, given its index. |
GetCapacity | protected | Returns the currently allocated size of the strings list. |
GetCount | protected | Returns the number of strings in the list. |
GetDisposed | protected | Getter for the Disposed property. |
GetEnumerator | public | Returns a TStrings 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. |
GetNamePath | public | Returns the name of the object as it appears in the Object Inspector. |
GetObject | protected | Returns the object associated with the string at a specified index. |
GetOwner | protected | Returns the owner of an object. |
GetText | public | Allocates a text buffer and fills it with the value of the Text property. |
GetTextStr | protected | Returns the value of the Text property. |
IndexError | protected | |
IndexOf | public | Returns the position of a string in the list. |
IndexOfName | public | |
IndexOfObject | 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 | Inserts a string to the list at the position specified by Index. |
InsertItem | protected | Internally used by the AddObject method. |
InsertObject | public | Inserts a string into the list at the specified position, and associates it with an object. |
InstanceSize | public | Returns the size in bytes of each instance of the object type. |
LoadFromFile | public | Fills the string list with the lines of text in a specified file. |
LoadFromStream | public | Fills the list with lines of text read from a stream. |
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 a string in the list. |
NewInstance | public | Allocates memory for an instance of an object type and returns a pointer to that new instance. |
operator [] | public | Returns the string at a specified position. |
Put | protected | Changes the value of the string with a specified index. |
PutObject | protected | Changes the object associated with the string at a specified index. |
QualifiedClassName | public | Returns the qualified name of the class. |
SafeCallException | public | Handles exceptions in methods declared using the safecall calling convention. |
SaveToFile | public | Saves the strings in the current object to the specified FileName file. |
SaveToStream | public | Writes the value of the Text property to the Stream stream. |
SetCapacity | protected | Changes the amount of memory allocated to hold strings in the list. |
SetEncoding | protected | Protected setter of the Encoding property. |
SetStrings | public | Sets the strings from another TStrings object to the list of strings. |
SetText | public | Sets the Text property. |
SetTextStr | protected | Sets the Text property. |
SetUpdateState | protected | Performs internal adjustments before or after a series of updates. |
Sort | public | Sorts the strings in the list in ascending order. |
ToObjectArray | public | Returns the TObject array associated with Strings. |
ToString | public | Returns a string containing the class name. |
ToStringArray | public | Converts a TStrings descendant to a string array. |
UnitName | public | Returns the name of the unit where the class is defined. |
UnitScope | public | Returns the class's unit scope. |