TStrings.GetObject function
Abstract read handler for the Objects property.
Declaration
function GetObject(Index: Integer): TObject; virtualDescription
GetObject is the read handler for the
Objects property. The
TStrings implementation of
this method ignores the
Index argument and simply
returns
Nil.
Descendant classes that should support object storage should override this
method and return the object associated to the Index-th string
in the list. Index should have a value between 0 and
Count-1. If Index is outside the allowed range, an
error should be raised using Error.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
