Share via


SrgsRuleScope Enumeration

Enumerates values for the scope of a rule in an SRGS grammar.

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

Syntax

'Declaration
Public Enumeration SrgsRuleScope
public enum SrgsRuleScope
public enum class SrgsRuleScope
public enum SrgsRuleScope
public enum SrgsRuleScope

Members

Member name Description
Private The rule cannot ordinarily be referenced by an external grammar (in an SrgsRuleRef element in the grammar making the reference). The only exception is that a private rule that is the root rule of its grammar can be referenced by an external grammar.
Public The rule can be referenced by an external grammar (in a SrgsRuleRef element in the grammar making the reference). A public rule can always be activated for recognition.

Platforms

Development Platforms

Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003, Windows Vista Ultimate Edition, Windows Vista Business Edition, Windows Vista Enterprise Edition

Target Platforms

See Also

Reference

Microsoft.Speech.Recognition.SrgsGrammar Namespace