System.SysUtils.NewStr

提供: RAD Studio API Documentation
移動先: 案内検索

Delphi

function NewStr(const S: AnsiString): PAnsiString;

C++

extern DELPHI_PACKAGE System::PAnsiString __fastcall NewStr _DEPRECATED_ATTRIBUTE0 (const System::AnsiString S);

プロパティ

種類 可視性 ソース ユニット
function public
System.SysUtils.pas
System.SysUtils.hpp
System.SysUtils System.SysUtils

説明

警告: NewStr は非推奨になっています。

ヒープ上に文字列を割り当てます。

NewStr 関数は,ヒープに新しい文字列を割り当てます。新しいアプリケーションでは NewStr を使用しないでください。この関数は下位互換性を保つためだけに提供されています。