ToneFileCount Method

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

The ToneFileCount method returns the total number of tone files returned by the last successful call to the ListToneFiles method.

VB

nFiles = object.ToneFileCount ()

VC++

HRESULT hr = object->ToneFileCount(short *nFiles);

Return Value

nFiles

The tone file count variable. This function will return a -1 if an error occurs. Use the RFGetLastError method to return the generated error code.

Remarks

The ToneFileCount method returns the file count from the last successful call to theListToneFiles Method. Use the ListToneFiles method to return the total number of tone files that are currently stored on an RF device.

 


Was this article useful?    

The topic was:

Inaccurate

Incomplete

Not what I expected

Other

Privacy and Legal