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

# TStrings.Get

Abstract read handler for the TStrings.Strings property.

## Declaration

`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 teh strings in the list.
TStrings.Put |  | Write handler for the TStrings.Strings property.
TStrings.GetObject |  | Abstract read handler for the TStrings.Objects property.