API:System.AnsiStringT.WideChar

From RAD Studio API Documentation
Jump to: navigation, search

C++

wchar_t* WideChar(wchar_t* dest, int destSize) const {

Properties

Type Visibility Source Unit Parent
function public dstring.h System AnsiStringT

Description

Converts the AnsiStringBase to a wide-character array.

System.AnsiStringT.WideChar inherits from System.AnsiStringBase.WideChar. All content below this line refers to System.AnsiStringBase.WideChar.

Converts the AnsiStringBase to a wide-character array.

WideChar converts the AnsiStringBase to an array of wide characters, and returns the resulting wide-character array.

Dest is a buffer the caller allocates to hold the return value. Use the WideCharBufSize method to determine the size needed to hold the entire string value.

destSize is the size, in bytes, of dest.

WideChar returns a pointer to the wide-character array that is written to dest.

See Also