[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Classes' (#rtl)

TStrings.Get

Abstract read handler for the TStrings.Strings property.

Declaration

Source position: classesh.inc line 577

protected function TStrings.Get(

  Index: Integer

):String; virtual; abstract;

Description

Get is the abstract read handler for the TStrings.Strings property. This is an abstract method, hence it is not implemented in TStrings.

Descendent classes, such as TStringList must override this method and implement a routine that retrieves the Index-th string in the list. Index should have a value between 0 and Count-1, in all other cases an error should be raised using TStrings.Error.

See also

TStrings.Strings

  

Indexed access to the strings in the list.

TStrings.Put

  

Write handler for the TStrings.Strings property.

TStrings.GetObject

  

Abstract read handler for the TStrings.Objects property.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.