[Overview][Types][Classes][Index] Reference for unit 'ExtendedStrings' (#lazutils)

TExtendedStringList.Records

Provides indexed access to records in the string list.

Declaration

Source position: extendedstrings.pas line 59

public property TExtendedStringList.Records[Index: Integer] : pointer
  read GetRecords
  write SetRecords;

Description

Records an indexed Pointer property that provides access to records stored in the string list. Index is the ordinal position in the list for the desired record.

Reading a value in Records causes a record to be created using CreateRecord if one has not already been allocated. The record pointer is retrieved by calling the inherited GetObject method.

Writing a new value in Records causes a previous record value to be freed by calling FreeRecord. The inherited PutObject method is called to store the value in AValue as a TObject reference in the Objects property.