Internet Direct (Indy)
Home
PreviousUpNext
TIdThreadSafeList.Count Method

Indicates the number of entries in the thread-safe data type.

Pascal
function Count: Integer;

Integer - Number of entries in the thread-safe container.

Count is an Integer function used to determine the number of entries in the thread-safe data type. Count creates a temporary List instance that is used to access the number of entries in the container, and freed prior to exiting from the method. 

Is IsCountLessThan to determine if thelist contains fewer than the specified number of entries. 

Use IsEmpty to determine if the container has no existing entries.

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.