[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.

See also

TExtendedStringList.RecordSize

  

Memory allocation size for Records in the class.

TExtendedStringList.Options

  

Contains record options enabled in the class.

TExtendedStringList.FreeRecord

  

Frees memory allocated for the record at the specified position.

TExtendedStringList.FreeAllRecords

  

Frees memory allocated for all Records in the class.

TExtendedStringList.Clear

  

Removes items stored in the string list.

TStrings.Objects


Version 4.0 Generated 2025-05-03 Home