Skip to content

TStringTableResource.Strings

Indexed array of strings in the string table

Declaration

Source position: stringtableresource.pp line 77

public property Strings[id : Word]: string; default;

Description

This property can be used to access all strings in the object.

Remark:

Strings are accessed by their ID: valid elements range from FirstID to LastID. If the index specified isn't in this range, an EStringTableIndexOutOfBoundsException exception is raised.

Remark:

If you need to access RawData after you modified strings, be sure to call UpdateRawData first. This isn't needed however when resource is written to a stream, since TResources takes care of it.

See also

Name Description
TStringTableResource String table resource type
TStringTableResource.FirstID The ID of first the string contained in the string table
TStringTableResource.LastID The ID of the last string contained in the string table