RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TWideStrings.GetText Method

Allocates a text buffer and fills it with the value of the Text property.

Pascal
function GetText: PwideChar; virtual;
C++
virtual __fastcall PwideChar GetText();

Call GetText to obtain a dynamically allocated character buffer containing all of the strings in the list. Individual strings are separated by a carriage return and (on Windows) line feed. The caller is responsible for freeing the returned value using the StrDispose procedure. 

 

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