System.WideString

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

type WideString = { built-in type };

C++

class RTL_DELPHIRETURN WideString

Properties

Type Visibility Source Unit Parent
type
class
public
System.pas
wstring.h
System System

Description

A null-terminated string of wide characters, with no reference counting.

A WideString variable represents a sequence of wchar_t characters. The WideString C++ class is functionally equivalent to the Delphi WideString intrinsic type.

WideString is useful when working with COM (Microsoft Component Object Model). WideString variables are easily converted to or from BSTR strings.

Note: WideString is used by the Delphi desktop compilers, but is not supported by the Delphi mobile compilers. For more information, see Migrating Delphi Code to Mobile from Desktop.

See Also