# Item Method The Item method returns one item of the collection. Syntax
    [obj=] SiteKiosk.CDRecording.RootDirectory.Directories.Item(index)
Parameters
index | Long value that contains the item number to return.
Return Value Returns a CDDirectory object that represents a subdirectory. Remarks Collection-index values are 1-based. Examples The following example shows the number of subdirectories of the first subdirectory of the root directory.
    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    firstSubDir = SiteKiosk.CDRecording.RootDirectory.Directories.Item(1);
    alert(firstSubDir.Directories.Count);
    </SCRIPT>
Applies to SiteKiosk v6.0 (and later versions). Back to top