Share 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
public GrammarCollection Grammars { get; set; }
public:
property GrammarCollection^ Grammars {
    GrammarCollection^ get ();
    void set (GrammarCollection^ value);
}
function set_grammars(value);

Exceptions

Exception Condition
System.InvalidOperationException Thrown if trying to replace the property at runtime.

See Also

SpeechQuestionAnswerActivity Class

Microsoft.Rtc.Workflow.Activities Namespace