RFFileDate Method

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

The RFFileDate method returns the last file modification date of the file in the position specified by nFile.

VB

pszDate = object.RFFileDate (nFile)

VC++

HRESULT hr = object->RFFileDate(short nFile, LPCTSTR *pszDate);

Return Value

pszDate

The date the file was last modified. The date will be returned in the format “YYYYMMDD. 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 date is being returned. For example, to return the modification date 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 RFFileTime Method to return the time a file was last modified. Use the RFFileSize Method to return the size of file.

 


Was this article useful?    

The topic was:

Inaccurate

Incomplete

Not what I expected

Other

Privacy and Legal