Microsoft SDK for Java

deleteFile

The deleteFile method of the ClientStore Class contains the following signatures:

deleteFile(String stgfilename)
deleteFile(String stgfilename, int flags)

deleteFile(String stgfilename)

Deletes the specified file.

Syntax

public void deleteFile(String stgfilename) throws IOException;

Parameters

stgfilename The name of the file to delete.

Exceptions

IOException if there is an error while attempting to delete the file.

deleteFile(String stgfilename, int flags)

Deletes the specified file.

Syntax

public void deleteFile(String stgfilename, int flags) throws IOException;

Parameters

stgfilename The name of the file to delete.
flags A value that indicates the storage area in which to delete stgfilename. It can be either or both of the STORE_FL_LOCAL and STORE_FL_ROAMING flags.

Exceptions

IOException if there is an error while attempting to delete the file.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.