This documentation is archived and is not being maintained.

SrgsRuleScope Enumeration

The SrgsRuleScope enumerated type specifies the scope of a rule in an SRGS grammar.

Namespace: System.Speech.Recognition.SrgsGrammar
Assembly: System.Speech (in system.speech.dll)

public enum SrgsRuleScope
public enum SrgsRuleScope
public enum SrgsRuleScope

 Member nameDescription
PrivateThe 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.  
PublicThe 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. 

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0
Show: