System.UnicodeString.Unique

From RAD Studio API Documentation
Jump to: navigation, search

C++

UnicodeString&  Unique();

Properties

Type Visibility Source Unit Parent
function public ustring.h System UnicodeString

Description

Makes a UnicodeString instance unique.

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

See Also