Show: Delphi C++
Display Preferences

System.WideString.Copy

From XE2 API Documentation
Jump to: navigation, search

C++

static wchar_t* __fastcall Copy(wchar_t* src);
wchar_t* __fastcall Copy() const
wchar_t* __fastcall Copy(wchar_t *, int len) const;

Properties

Type Visibility Source Unit Parent
function public wstring.h System WideString

Description

Returns a copy of WideString.

Use Copy to copy the WideString into an array of wchar_t. Use the Length method to ensure that the destination buffer is large enough to hold the contents of the WideString.

WideString also supports a static copy method that copies an arbitrary source string.

See Also

Personal tools
Previous Versions
Translations