Sign in Join
FPDoc Onlineexperiment

TExtendedStringList.GetObject function

Member of TExtendedStringListprotectedIn unit ExtendedStrings

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

Declaration

pascal
function GetObject(Index: Integer): TObject; override

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

An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.