RFStoreFile Method

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

The RFStoreFile Method saves data to the device in the specified file.

Syntax

public void RFStoreFile(String fileName, String fileData)
throws WaveLinkError,
IllegalArgumentException

Parameters

fileName

The base name of the file, including the file extension

fileData

The data to be stored in the file

Throws

WaveLinkError

IllegalArgumentException

Remarks

The WaveLinkFile object uses the standard DOS 8.3 file naming convention.

You must specify a 3-character file extension when passing fileName.

Do not use a WaveLinkFile object to store the other WaveLink objects (menus, tones, and barcodes). Each of these has its own methods for interacting with the device.

Example

WaveLinkFile fileIface = new WaveLinkFile();

string strBuffer;

strBuffer = "A string representing data to be stored on the device!";

try {

fileIface.RFStoreFile("FileDemo.dat", strBuffer);

}

catch (WaveLinkError wlErr) {

// Do error handling

}

 


Was this article useful?    

The topic was:

Inaccurate

Incomplete

Not what I expected

Other

Privacy and Legal