System.AnsiStrings.StrDispose

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

Delphi

procedure StrDispose(Str: PAnsiChar);

C++

extern DELPHI_PACKAGE void __fastcall StrDispose(char * Str)/* overload */;

プロパティ

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

説明

文字列を破棄します。

StrDispose は下位互換性の目的で提供されます。StrDispose は,StrAlloc または StrNew を使って前に割り当てられたヒープの文字列を破棄します。

Str が nil(Delphi)または NULL(C++)の場合,StrDispose は何の処理も行いません。

関連項目