Compartilhar via


SrgsRuleScope Enum

Definition

Enumerates values for the scope of a SrgsRule object.

public enum class SrgsRuleScope
public enum SrgsRuleScope
type SrgsRuleScope = 
Public Enum SrgsRuleScope
Inheritance
SrgsRuleScope

Fields

Name Value Description
Public 0

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 1

The rule cannot be the target of a rule reference from an external grammar unless it is the root rule of its containing grammar.

Applies to