Open main menu

RAD Studio API Documentation β

System.AnsiStringT.RefCount

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 AnsiStringT.

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

See Also