Grammar Property

Microsoft Speech Platform SDK 11

Collapse imageExpand ImageCopy imageCopyHover image

Gets the Grammar object that the speech recognizer used to return the RecognizedPhrase.

Namespace:  Microsoft.Speech.Recognition
Assembly:  Microsoft.Speech (in Microsoft.Speech.dll)

Syntax

Visual Basic (Declaration)
Public ReadOnly Property Grammar As Grammar
	Get
Visual Basic (Usage)
Dim instance As RecognizedPhrase
Dim value As Grammar

value = instance.Grammar
C#
public Grammar Grammar { get; }

Property Value

Type: Microsoft.Speech.Recognition..::..Grammar

The grammar object that the speech recognizer used to identify the input.

See Also