Internet Direct (Indy)
Home
PreviousUpNext
TIdThreadSafeStringList.Empty Method

Indicates if any values have been stored in the thread-safe data type.

Pascal
function Empty: Boolean;

Boolean - True when no values exist in the data type.

Empty is a Boolean function used to indicate if any values have been stored in the thread-safe data type. 

Empty calls Lock to enable resource protection, and to gain access to the current values for the thread-safe data type. 

The return value is True when the length of the internal TIdStringList is 0 (zero). 

Empty calls Unlock to disable resource protection for the data type prior to exiting from the method. 

Use Clear to delete all values in the data type. 

Use Remove to delete an item with a specified name in the values for the 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.