System.AnsiStringBase.Unique

From RAD Studio API Documentation
Jump to: navigation, search

C++

AnsiStringBase&  Unique() {

Properties

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

Description

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.