System.UnicodeString.data

From RAD Studio API Documentation
Jump to: navigation, search

C++

const void* data() const   { return Data; }

Properties

Type Visibility Source Unit Parent
function public ustring.h System UnicodeString

Description

Returns a pointer to the underlying string data.

data returns a wchar_t pointer to the UnicodeString object that it uses to store its value. This is the same value as the one returned by the c_str method, except that c_str returns a pointer to an empty string when the string is unassigned.

See Also