RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TStrings Members

The following tables list the members exposed by TStrings.

 
Name 
Description 
 
Copies the properties of an object to a destination object. 
 
Compares two strings. 
 
Reads and writes the Strings property as if it were published. 
 
This is the overview for the Error method overload. 
 
Returns the name portion of a string that is a name value pair. 
 
Get 
Returns a string given its index. 
 
Returns the currently allocated size of the list of strings. 
 
Returns the number of strings in the list 
 
Returns the object associated with the string at a specified index. 
 
Returns the owner of an object. 
 
Returns the value of the Text property. 
 
Put 
Changes the value of the string with a specified index. 
 
Changes the object associated with the string at a specified index. 
 
Changes the amount of memory allocated to hold strings in the list. 
 
Sets the Text property. 
 
Performs internal adjustments before or after a series of updates. 
 
Name 
Description 
 
Indicates the number of calls to BeginUpdate that have not been matched by a call to EndUpdate
 
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. 
 
Returns the address of a published object field. 
 
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. 
 
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. 
 
Fills the list with the lines of text in a specified file. 
 
Fills the list with lines of text read from a stream. 
 
This is MethodAddress, a member of class TObject. 
 
This is MethodName, a member of class TObject. 
 
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. 
 
Saves the strings in the list to the specified file. 
 
Writes the value of the Text property to a stream object. 
 
Sets the Text property. 
 
Name 
Description 
 
Indicates the number of strings the TStrings object can hold. 
 
Lists the strings in the TStrings object in system data format (SDF). 
 
Introduces an abstract property to represent the number of strings in the list. 
 
Represents all the strings in the TStrings object as a single delimited string. 
 
Specifies the delimiter used by the DelimitedText property. 
 
Defines the line break character(s). 
 
Indicates the name part of strings that are name-value pairs. 
 
Indicates the character used to separate names from values. 
 
Represents a set of objects that are associated one with each of the strings in the Strings property. 
 
Specifies the quote character used by the DelimitedText property. 
 
Determines how the Delimiter property is used. 
 
References the strings in the list by their positions. 
 
Implements an IStringsAdapter interface for the TStrings object. 
 
Text 
Lists the strings in the TStrings object as a single string with the individual strings delimited by carriage returns and line feeds. 
 
Represents the value part of a string with a given index, on strings that are name-value pairs. 
 
Represents the value part of a string associated with a given name, on strings that are name-value pairs. 
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!