FileProperties.DirectoryList(StringArray) Method

Top 

Description

If the FileProperties.Filename property refers to a directory, the argument StringArray will be populated with the names of the files and folders in the directory. This method returns the number of files and folders in the named directory.

 

Timing Precision Mode

This page describes functionality in millisecond timing precision mode.

 

Method Signature

FileProperties.DirectoryList(

StringArray fileList)

 

Arguments

fileList


Description:

Array to hold list of files and folders.

 

 

Return Value

Type:

number

 

The number of files and folders that exist under the directory specified by FileProperties.FileName.

 

Syntax

myVariable1 = myFileProperties1.DirectoryList(myStringArray1);

 

See also

FileProperties Object

Interfacing with Files Guide