Internet Direct (Indy)
Home
PreviousUpNext
TIdThreadSafeStringList.Clear Method

Deletes all items in the thread-safe data type.

Pascal
procedure Clear;

Clear is a procedure used to remove all items in the Value property for the thread-safe data type. 

Clear calls Lock to enable resource protection for Value prior to removing items in Value for the thread-safe data type. 

Clear calls Unlock to disable resource protection for Value when items in Value have been deleted, or an exception is raised. 

Use Remove to delete a single item in Value from 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.