FileManagerFolder.DeleteFolder



DeleteFolder(lIndex As Long) As Boolean

Parameters

lIndex As Long
Defines the position of the folder.
ED
avaliable
RT
not used

Remarks

With this method a list folder can be deleted.

Sample:


Sub DeleteFolder()

Dim zFileManager As FileManager 'Object from type FileManager
Dim zFileManagerFolder As FileManagerFolder 'Child object from type FileManager

'Fill the object
Set zFileManager = MyWorkspace.ActiveDocument.FileManager

'Read the "help list"
Set zFileManagerFolder = zFileManager.FolderItem(10)
'Delete the first folder
zFileManagerFolder.DeleteFolder (0)

End Sub

See Also

FileManagerFolder