API:System.AnsiStringT.Unique

From RAD Studio API Documentation
Jump to: navigation, search

C++

AnsiStringT&  Unique() {

Properties

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

Description

Makes the AnsiStringBase unique.

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

Makes the AnsiStringBase unique.

Use this function to make a string unique (refcnt == 1). Unique sets the reference count on the string for the AnsiStringBase object to 1 so that it is the only object referencing that string.