System.WideStrings.TWideStrings.GetText

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetText: PWideChar; virtual;

C++

virtual System::WideChar * __fastcall GetText();

Properties

Type Visibility Source Unit Parent
function public
System.WideStrings.pas
System.WideStrings.hpp
System.WideStrings TWideStrings

Description

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

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.

See Also