RFDeleteFile Method

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

The RFDeleteFile method removes DOS files from an RF device.

VB

bStatus = object.RFDeleteFile (pszFileName)

VC++

HRESULT hr = object->RFDeleteFile(LPCTSTR pszFileName, BOOL *bStatus);

Return Value

bStatus

The status of the function returned as Boolean True or False values. Use the RFGetLastError method to return the error value.

Parameters

pszFileName

The DOS file to delete from the RF device.

Remarks

The RFFile object uses the standard DOS 8.3 file and wild card (*) naming convention. For example, to delete all files from an RF devices memory, pass *.* for the pszFileName parameter.

Example

See the RFFile Samples.

 


Was this article useful?    

The topic was:

Inaccurate

Incomplete

Not what I expected

Other

Privacy and Legal