API:System.AnsiStringT.RefCount

From RAD Studio API Documentation

C++

int            RefCount()    const { return Data ? GetRec().refCnt   : 0; }

Properties

Type Visibility Source Unit Parent
function public dstring.h System AnsiStringT

Description

Gets the reference count of AnsiStringBase. {{#multireplace:System.AnsiStringT.RefCount|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} inherits from {{#multireplace:System.AnsiStringBase.RefCount|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}. All content below this line refers to {{#multireplace:System.AnsiStringBase.RefCount|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.

Gets the reference count of AnsiStringBase.

RefCount gets the reference count of a AnsiStringBase instance. If the instance is empty, it returns 0.

See Also