Grammar Property

Gets or sets the grammar used to recognize the input that triggers this CommandActivity. A Grammar object provides run time support for obtaining and managing speech grammar information.

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

Syntax

'Declaration
<DefaultValueAttribute(Nothing)> _
Public Property Grammar As Grammar
[DefaultValueAttribute(null)]
public Grammar Grammar { get; set; }
[DefaultValueAttribute(nullptr)]
public:
property Grammar^ Grammar {
    Grammar^ get ();
    void set (Grammar^ value);
}
function get_grammar();
function set_grammar(value);

Field Value

The grammar used to recognize the Command.

See Also

CommandActivity Class

Microsoft.Rtc.Workflow.Activities Namespace