RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
AnsiString::Unique Method
Pascal
function Unique: AnsiString&;
C++
__fastcall AnsiString& Unique();

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

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!