Show: Delphi C++
Display Preferences

System.IOUtils.TFile.Delete

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

class procedure Delete(const Path: string); static;

C++

static void __fastcall Delete(const System::UnicodeString Path);

Properties

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

Description

Deletes a file at the given path.

Use Delete to delete a file at the given path. The following table lists the parameters expected by this method.



Name Meaning

Path

Path of the directory being deleted.



Note: Delete raises an exception if the given Path is invalid or is not a file.

See Also

Code Examples


Personal tools
In Other Languages
Previous Versions
Assistance