SrgsRule Members

Represents a grammar rule.

The following tables list the members exposed by the SrgsRule type.

Public Constructors

Name Description
SrgsRule Overloaded. Initializes a new instance of the SrgsRule class.

Top

Public Properties

Name Description
Dd147020.pubproperty(en-us,office.13).gif Elements Gets the collection of elements in the rule.
Dd147020.pubproperty(en-us,office.13).gif Id Gets or sets the identifier for the rule.
Dd147020.pubproperty(en-us,office.13).gif Scope Gets or sets whether a rule can be activated for recognition and when the rule can be referenced by other rules.

Top

Public Methods

(see also Protected Methods )

Name Description
Dd147020.pubmethod(en-us,office.13).gif Add Adds an SRGS element to a rule.
Dd147020.pubmethod(en-us,office.13).gif Equals Overloaded. (inherited from Object )
Dd147020.pubmethod(en-us,office.13).gif GetHashCode (inherited from Object )
Dd147020.pubmethod(en-us,office.13).gif GetType (inherited from Object )
Dd147020.pubmethod(en-us,office.13).gifDd147020.static(en-us,office.13).gif ReferenceEquals (inherited from Object )
Dd147020.pubmethod(en-us,office.13).gif ToString (inherited from Object )

Top

Protected Methods

Name Description
Dd147020.protmethod(en-us,office.13).gif Finalize (inherited from Object )
Dd147020.protmethod(en-us,office.13).gif MemberwiseClone (inherited from Object )

Top

See Also

Reference

SrgsRule Class
Microsoft.Speech.Recognition.SrgsGrammar Namespace

Other Resources

Speech Recognition Grammar Specification Version 1.0