Delete Method



 
The Delete method deletes a subdirectory of the directory.


Syntax

    CDDirectory.Delete(name)
    
Parameters
    name String that specifies the name of the subdirectory.
Return Value
    None.
Remarks
    None.
Examples
    The following example creates and deletes a subdirectory in the first subdirectory of the root directory.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    subDir = SiteKiosk.CDRecording.RootDirectory.Directories.Item(1);
    newDir = subDir.CreateDirectory("dir");
    subDir.Delete("dir");
    </SCRIPT>
    

Applies to
    SiteKiosk v6.0 (and later versions).

Back to top