Data.DBXPlatform.TDBXStringList.GetCount

From RAD Studio API Documentation

Delphi

function GetCount: Integer; override;

Properties

Type Visibility Source Unit Parent
function protected System.Classes.pas Data.DBXPlatform TDBXStringList

Description

Returns the number of strings in the list {{#multireplace:Data.DBXPlatform.TDBXStringList.GetCount|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} inherits from {{#multireplace:System.Classes.TStrings.GetCount|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}. All content below this line refers to {{#multireplace:System.Classes.TStrings.GetCount|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.

Returns the number of strings in the list

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.

See Also