Internet Direct (Indy)
|
Deletes a string value from the items in the thread-safe data type.
procedure Remove( const AItem: string );
Parameters |
Description |
AItem |
String value to remove from the data type. |
Remove is a procedure used to delete the String value in AItem from the Value for the thread-safe data type.
Remove calls Lock to enable resource protection for Value prior to searching Value using it's IndexOf method. When AItems exists in Value, it is deleted.
Remove calls Unlock to disable resource protection for Value when AItem has been deleted, or an exception is raised.
Use Add to add a string value to the thread-safe data type.
Use AddObject to add a string with an associated TObject instance to the thread-safe data type.
Use Clear to delete all items in the thread-safe data type.
Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved. Website http://www.indyproject.org. Post feedback to the Indy Documentation newsgroup. |