Skip to content

TVersionStringTable

Version information for a specific language-codepage combination

Declaration

Source position: versiontypes.pp line 81

type

  TVersionStringTable = class
  public
    constructor Create;
    destructor Destroy;
    procedure Add;
    procedure Clear;
    procedure Delete(const aIndex: Integer); overload;
    procedure Delete(const aKey: string); overload;
    property Name: string; {r}
    property Count: Integer; {r}
    property Keys[index : Integer]: string; {r}
    property ValuesByIndex[index : Integer]: string; {rw}
    property Values[Key : string]: string; {rw}
  end;

Description

This class represents version information for a specific language-codepage combination.

It is contained in a TVersionStringFileInfo object.

Information is stored as key-value pairs. The name of the string table specifies the language id - codepage to which the object applies.

There are some predefined keys that Microsoft Windows searches for. They are:

Properties

Member Visibility Description
Count read only public The number of items in the object
Keys read only public Indexed array of keys in the object
Name read only public The name of the string table
Values public Array of values in the object, accessed by key
ValuesByIndex public Indexed array of values in the object

Methods

Member Visibility Description
Add public Adds a new item to the string table
Clear public Deletes all items
Create public Creates a new string table
Delete public Deletes an item
Destroy public Destroys the string table

See also

Name Description
TVersionStringFileInfo Language dependent part of version information
TVersionStringTable.Name The name of the string table
TVersionStringTable.Keys Indexed array of keys in the object
TVersionStringTable.Values Array of values in the object, accessed by key
TVersionStringTable.ValuesByIndex Indexed array of values in the object