RFFileTime Method

This member of RFFile Object is supported on Windows Mobile, Windows CE, Palm, and DOS.

The RFFileTime method returns the last file modification time of the file in the position specified by nFile.

VB

pszTime = object.RFFileTime (nFile)

VC++

RFFileTime(short nFile, LPCTSTR *pszTime);

Return Value

pszTime

The time the file was last modified. The time will be returned in the format “HHMMSS. If this method returns an empty string, an error may have occurred. Use the RFGetLastError method to return the generated error code.

Parameters

nFile

The zero based index value file on the RF device that's last modification time is being returned. For example, to return the modification time of the third file you would pass a 2.

Remarks

You must use the RFListFilesEx Method rather than the RFListFiles Method to store the additional file time information within the RFFile object. Use the RFFileDate Method to return the date a file was last modified. Use the RFFileSize Method to return the size of the file.

 


Was this article useful?    

The topic was:

Inaccurate

Incomplete

Not what I expected

Other

Privacy and Legal