RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
AnsiStringBase::Unique Method

Makes the System::AnsiStringBase unique.

Pascal
function Unique: AnsiStringBase&;
C++
__fastcall AnsiStringBase& Unique();

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

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!