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
<DefaultValueAttribute(Nothing)> _
Public Property Grammars As GrammarCollection
[DefaultValueAttribute(null)]
public GrammarCollection Grammars { get; set; }
[DefaultValueAttribute(nullptr)]
public:
property GrammarCollection^ Grammars {
    GrammarCollection^ get ();
    void set (GrammarCollection^ value);
}
function get_grammars();
function set_grammars(value);

Exceptions

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

See Also

SpeechQuestionAnswerActivity Class

Microsoft.Rtc.Workflow.Activities Namespace