System.WideString.Copy

From RAD Studio API Documentation
Jump to: navigation, search

C++

static wchar_t* Copy(wchar_t* src);
wchar_t* Copy() const
wchar_t* 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