RemoveTone Method

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

The RemoveTone method lets you remove a specific note from the current RFTone object.

VB

bStatus = object.RemoveTone (nTone)

VC++

HRESULT hr = object->RemoveTone(short nTone, 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

nTone

The zero based index value note to be removed. Note, the first tone in the list is indexed as zero. For example, to remove the frequency for the third note in the current RFTone object you would pass a 2.

Remarks

To remove a note from a tone file stored on an RF device, you must first set the tone file as the current RFTone object using the GetToneFile Method, then use RemoveTone.

 


Was this article useful?    

The topic was:

Inaccurate

Incomplete

Not what I expected

Other

Privacy and Legal