Topic Path: Symbol Reference > Classes > TIdThreadSafeStringList Class > TIdThreadSafeStringList Methods > Clear Method
ContentsIndexHome
PreviousUpNext
TIdThreadSafeStringList.Clear Method

Deletes all items in the thread-safe data type.

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.

Copyright 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.