Skip to content

TClassList.Insert

Insert a new class pointer in the list.

Declaration

Source position: contnrs.pp line 135

public 
procedure TClassList.Insert(Index: Integer; AClass: TClass);

Description

Insert inserts a class pointer in the list at position Index. It simply overrides the parent implementation so it only accepts class pointers. It introduces no new behaviour.

Errors

None.

See also

Name Description
#rtl.classes.TList.Insert
TClassList.Add Add a new class pointer to the list.
TClassList.Remove Remove a class pointer from the list.