RAD Studio VCL Reference
ContentsIndex
TStrings Members Public Methods
Public Methods
 
Name 
Description 
 
Add 
Adds a string at the end of the list. 
 
Adds a string to the list, and associates an object with the string. 
 
Adds a group of strings to the list. 
 
Responds after the last constructor has executed. 
 
Adds a string to the list. 
 
Sets the strings in the list, and possibly associated objects, from a source object. 
 
Responds before the first destructor executes. 
 
Enables the TStrings object to track when the list of strings is changing. 
 
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. 
 
Introduces an abstract (Delphi) or pure virtual (C++) method to empty the list and any associated objects. 
 
Constructs an object and initializes its data before the object is first used. 
 
Provides the interface for a method that processes message records. 
 
Introduces an abstract (Delphi) or pure virtual (C++) method to delete a specified string from the list. 
 
Destroys the TPersistent instance and frees its memory. 
 
Calls message-handling methods for the object, based on the contents of the Message parameter. 
 
Enables the TStrings object to keep track of when the list of strings has finished changing. 
 
Compares the list of strings to the list from another TStrings object and returns true if the two lists match. 
 
Swaps the position of two strings in the list. 
 
This is the overview for the FieldAddress method overload. 
 
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 TStrings 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 name of the object as it appears in the Object Inspector. 
 
Allocates a text buffer and fills it with the value of the Text property. 
 
Returns the position of a string in the list. 
 
Returns the position of the first name-value pair with the specified name. 
 
Returns the index of the first string in the list associated with a given object. 
 
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. 
 
Introduces abstract (Delphi) or pure virtual (C++) method to insert a string at a specified position. 
 
Inserts a string into the list at the specified position, and associates it with an object. 
 
Returns the size in bytes of each instance of the object type. 
 
This is the overview for the LoadFromFile method overload. 
 
This is the overview for the LoadFromStream method overload. 
 
This is the overview for the MethodAddress method overload. 
 
Returns the name of a class method by address. 
 
Move 
Changes the position of a string in the list. 
 
Allocates memory for an instance of an object type and returns a pointer to that new instance. 
 
Handles exceptions in methods declared using the safecall calling convention. 
 
This is the overview for the SaveToFile method overload. 
 
This is the overview for the SaveToStream method overload. 
 
Sets the Text property. 
 
Returns a string containing the class name. 
 
Returns a string containing the unit name. 
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.