Topic Path: Symbol Reference > Classes > TIdThreadSafeList Class > TIdThreadSafeList Methods > Count Method
ContentsIndexHome
PreviousUpNext
TIdThreadSafeList.Count Method

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

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.

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