Partilhar via


Note

Please see Azure Cognitive Services for Speech documentation for the latest supported speech solutions.

SrgsRuleScope Enumeration

Enumerates values for the scope of a SrgsRule object.

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

Syntax

'Declaration
Public Enumeration SrgsRuleScope
'Usage
Dim instance As SrgsRuleScope
public enum SrgsRuleScope

Members

Member name Description
Public The rule can be the target of a rule reference from an external grammar, which can use the rule to perform recognition. A public rule can always be activated for recognition.
Private The rule cannot be the target of a rule reference from an external grammar unless it is the root rule of its containing grammar.

See Also

Reference

Microsoft.Speech.Recognition.SrgsGrammar Namespace