RFListFiles Method

This member of Class WaveLinkFile is supported on iOS, Windows Mobile, Windows CE, Palm, and DOS.

The RFListFiles Method returns the total number of files saved on a device that match the input mask and stores the file names in the current object.

Syntax

public int RFListFiles(String fileMask)
throws WaveLinkError,
IllegalArgumentException

Parameters

fileMask

The list file mask (for example, "*.*" returns all files while "*.ton" returns only tone files)

Returns

The number of files on the device that match the file mask

Throws

WaveLinkError

IllegalArgumentException

Remarks

To return the value of the last successful RFListFiles Method without making an actual call to the device, use the RFFileCount Method.

Use the RFListFilesEx Method to store the file modification date and time, the file size, and the DOS 8.3 file name within the WaveLinkFile Object.

Example

See the WaveLinkFile Samples

 


Was this article useful?    

The topic was:

Inaccurate

Incomplete

Not what I expected

Other

Privacy and Legal