API:System.WideStrings.TWideStringList

From RAD Studio API Documentation
Jump to: navigation, search

System.WideStrings.TWideStringsSystem.Classes.TPersistentSystem.TObjectTWideStringList

Delphi

TWideStringList = class(TWideStrings)

C++

class PASCALIMPLEMENTATION TWideStringList : public TWideStrings

Properties

Type Visibility Source Unit Parent
class public
System.WideStrings.pas
System.WideStrings.hpp
System.WideStrings System.WideStrings

Description

TWideStrings is the base class for objects that represent a list of PWideChar.

System.WideStrings.TWideStringList inherits from System.WideStrings.TWideStrings. All content below this line refers to System.WideStrings.TWideStrings.

TWideStrings is the base class for objects that represent a list of PWideChar.

Derive a class from TWideStrings to store and manipulate a list of strings. TWideStrings contains abstract or, in C++ terminology, pure virtual methods and should not be directly instantiated.

Descendants of TWideStrings can represent several individual strings, such as the individual lines that appear in a list box. Some objects use descendants of TWideStrings to represent one long body of text so that it can be manipulated in smaller chunks.

TWideStrings introduces many properties and methods to:

  • Add or delete strings at specified positions in the list.
  • Rearrange the strings in the list.
  • Access the string at a particular location.
  • Read the strings from or write the strings to a file or stream.
  • Associate an object with each string in the list.
  • Store and retrieve strings as name-value pairs.

For an explanation of name-value pairs, refer to the NameValueSeparator property.

See Also