System.AnsiStringBase.RefCount

From RAD Studio API Documentation
Jump to: navigation, search

C++

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

Properties

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

Description

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

Retrieved from "https://docwiki.embarcadero.com/Libraries/Sydney/e/index.php?title=System.AnsiStringBase.RefCount&oldid=141986"