RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
AnsiStringT::Unique Method

Makes the System::AnsiStringT unique.

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

Use this function to make a string unique (refcnt == 1). System::AnsiStringT::Unique sets the reference count on the string for the System::AnsiStringT 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!