Home Notices Documents Classes Download Others Rice
Classes  >  file  >  Delete()
file class : Delete() method

Description

Deletes a file.

Syntax

fileInstance.Delete()

Arguments

None

Return value

None

Sample code

1:

file f = new file("c:\somewhere...");

2:

f.Delete();

Notes

It's a wrapper of the System.IO.FileInfo.Delete() method.

Links for reference

Copyright © Rice All rights reserved.