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

TExtendedStringList.GetObject

Re-implements the read access specifier for the Objects property.

Declaration

Source position: extendedstrings.pas line 48

protected function TExtendedStringList.GetObject(

  Index: Integer

):TObject; override;

Arguments

Index

  

Ordinal position for the requested value.

Function result

TObject stored at the specified position.

Description

GetObject is an overridden TObject function which re-implements the read access specifier for the Objects property. GetObject calls the inherited method to retrieve the value at the position in Index. GetObject ensures that the return value is cast to a TObject instance when assigned, or Nil when unassigned.

GetObject and PutObject are called directly (as opposed to using the Objects property) in methods which maintain values in Records.

See also

TStringList


Version 4.0 Generated 2025-05-03 Home