API:System.Classes.TStringList.Delete
Delphi
procedure Delete(Index: Integer); override;
C++
virtual void __fastcall Delete(int Index);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | System.Classes.pas System.Classes.hpp |
System.Classes | TStringList |
Description
Introduces an abstract (Delphi) or pure virtual (C++) method to delete a specified string from the list.
System.Classes.TStringList.Delete inherits from System.Classes.TStrings.Delete. All content below this line refers to System.Classes.TStrings.Delete.
Introduces an abstract (Delphi) or pure virtual (C++) method to delete a specified string from the list.
Descendants of TStrings implement a Delete method to remove a specified string from the list. If an object is associated with the string, the reference to the object is removed as well. Index gives the position of the string, where 0 is the first string, 1 is the second string, and so on.