RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TFlatList.GetCount Method

Returns the number of strings in the list

Pascal
function GetCount: Integer; override;
C++
virtual __fastcall int GetCount();

GetCount is the protected read implementation of the Count property. 

In TStrings GetCount is abstract or, in C++ terminology, pure virtual, meaning it has no implementation. Descendant classes must override this method to return the number of strings that have been added to the list. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!