![Collapse image Collapse image](collapse_all.gif)
![Expand Image Expand Image](expand_all.gif)
![](collapse_all.gif)
![](expand_all.gif)
![](dropdown.gif)
![](dropdownHover.gif)
![Copy image Copy image](copycode.gif)
![CopyHover image CopyHover image](copycodeHighlight.gif)
Adds a tone to the buffer for recognition against the loaded Grammar objects.
Namespace:
Microsoft.Speech.Recognition
Assembly:
Microsoft.Speech (in Microsoft.Speech.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Sub AddTone ( _ toneId As Byte _ ) |
Visual Basic (Usage) |
---|
Dim instance As DtmfRecognitionEngine Dim toneId As Byte instance.AddTone(toneId) |
C# |
---|
public void AddTone( byte toneId ) |
Parameters
- toneId
- Type: System..::..Byte
Remarks
The DTMF tones are defined in the DtmfTone enumeration, but other tone values are possible and legitimate.