RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
UnicodeString::EnsureUnicode Method

Ensure that string contains Unicode data.

Pascal
function EnsureUnicode: UnicodeString&;
C++
__fastcall UnicodeString& EnsureUnicode();

If the string data in the System::UnicodeString instance is not Unicode, System::UnicodeString::EnsureUnicode converts it to Unicode. 

 

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