Partager via


SpeechCommandActivity.DtmfGrammar Property

Gets or sets the DTMF grammar used to recognize the command.

Namespace:  Microsoft.Rtc.Workflow.Activities
Assembly:  Microsoft.Rtc.Workflow (in Microsoft.Rtc.Workflow.dll)

Syntax

'Declaration
Public Property DtmfGrammar As Grammar
    Get
    Set
'Usage
Dim instance As SpeechCommandActivity
Dim value As Grammar

value = instance.DtmfGrammar

instance.DtmfGrammar = value
public Grammar DtmfGrammar { get; set; }

Property Value

Type: Microsoft.Speech.Recognition.Grammar
The grammar used to recognize the Command.

See Also

Reference

SpeechCommandActivity Class

SpeechCommandActivity Members

Microsoft.Rtc.Workflow.Activities Namespace