|
Deletes a specified folder.
object.Delete( force );
object
Required. Always the name of a Folder object.
force
Optional. Boolean value that is True if folders with the read-only attribute set are to be deleted, False (default) if they are not.
An error occurs if the specified folder does not exist.
The results of the Delete method on a Folder are identical to operations performed using DeleteFolder.
The Delete method does not distinguish between folders that have contents and those that do not. The specified folder is deleted regardless of whether or not it has contents.
Copyright 2002 Sun Microsystems, Inc. All rights reserved. Legal Notice.