RAD Studio VCL Reference
TStrings.GetCount Method

Returns the number of strings in the list

function GetCount: Integer; virtual; abstract;
virtual __fastcall int GetCount() = 0;

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!