System.Classes.TStrings.Delete

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure Delete(Index: Integer); virtual; abstract;

C++

virtual void __fastcall Delete(int Index) = 0 ;

Properties

Type Visibility Source Unit Parent
procedure
function
public
System.Classes.pas
System.Classes.hpp
System.Classes TStrings

Description

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.

See Also