System.SysUtils.DisposeStr

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure DisposeStr(P: PAnsiString);

C++

extern DELPHI_PACKAGE void __fastcall DisposeStr _DEPRECATED_ATTRIBUTE0 (System::PAnsiString P);

Properties

Type Visibility Source Unit Parent
procedure
function
public
System.SysUtils.pas
System.SysUtils.hpp
System.SysUtils System.SysUtils

Description

Warning: DisposeStr is deprecated.

Disposes of a string pointer that was allocated using NewStr.

DisposeStr is only provided for backward compatibility with existing code that allocated a string using NewStr. Both DisposeStr and NewStr are obsolete.

See Also