Creates a new instance of the class RecognizerGrammar.

Namespace:  SGP.Speech
Assembly:  SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825

Syntax

C#
[CLSCompliantAttribute(false)]
protected RecognizerGrammar(
	RecognizerContext context,
	ISpeechRecoGrammar grammar
)

Parameters

context
Type: SGP.Speech..::.RecognizerContext
A recognizer context.
grammar
Type: ISpeechRecoGrammar
A Microsoft Speech grammer ISpeechRecoGrammar.

See Also