Visit Mozilla.org

XPInstall API Reference:File Object:Methods:remove

From MDC

Contents

[edit] remove

Deletes a specified file.

[edit] Method of

File object

[edit] Syntax

int remove( FileSpecObject file )

[edit] Parameters

The remove method has the following parameters:

file
A FileSpecObject representing the file to be removed.

[edit] Returns

An integer error code. For a list of possible values, see Return Codes.