Partilhar via


SpeechQuestionAnswerActivity.Grammars Property

Gets the collection of speech grammars that will be active during recognition for this SpeechQuestionAnswerActivity.

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

Syntax

'Declaration
Public Property Grammars As GrammarCollection
    Get
    Set
'Usage
Dim instance As SpeechQuestionAnswerActivity
Dim value As GrammarCollection

value = instance.Grammars

instance.Grammars = value
public GrammarCollection Grammars { get; set; }

Property Value

Type: Microsoft.Rtc.Workflow.Common.GrammarCollection

Exceptions

Exception Condition
InvalidOperationException

Thrown if trying to replace the property at runtime.

See Also

Reference

SpeechQuestionAnswerActivity Class

SpeechQuestionAnswerActivity Members

Microsoft.Rtc.Workflow.Activities Namespace