Previous PageNext Page

8.11.7 Delete Method

Deletes a specified folder.
 

Syntax

object.Delete force

Arguments

object
The name of a Folder object. Required.
force
A Boolean value that is True if folders with the read-only attribute set are to be deleted; False (default) if they are not. Optional.

Remarks

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 © 2000 Chili!Soft

Previous PageTop Of PageNext Page