Afficher : Delphi
C++
Préférences d'affichage
System.SysUtils.StrDispose
De XE2 API Documentation
Delphi
procedure StrDispose(Str: PAnsiChar); procedure StrDispose(Str: PWideChar);
C++
extern PACKAGE void __fastcall StrDispose(char * Str)/* overload */;
Propriétés
| Type | Visibilité | Source | Unité | Parent |
|---|---|---|---|---|
procedure function |
public | System.SysUtils.pas System.SysUtils.hpp |
System.SysUtils | System.SysUtils |
Description
Libère une chaîne.
StrDispose est fournie pour assurer une compatibilité ascendante. StrDispose restitue une chaîne du tas précédemment allouée à l'aide de StrAlloc ou StrNew.
Si Str est à nil (Delphi) ou NULL (C++), StrDispose ne fait rien.