API:System.AnsiStringT.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 AnsiStringT

Description

Gets the reference count of AnsiStringBase.

System.AnsiStringT.RefCount inherits from System.AnsiStringBase.RefCount. All content below this line refers to System.AnsiStringBase.RefCount.

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