SrgsRule.Elements Property

 

Gets the collection of SrgsElement objects in the SrgsRule instance.

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

public Collection<SrgsElement> Elements { get; }

Property Value

Type: System.Collections.ObjectModel.Collection<SrgsElement>

The collection of elements in the rule.

The elements in an SrgsRule object can consist of SrgsItem, SrgsOneOf, SrgsRuleRef, SrgsToken, SrgsNameValueTag, and SrgsSemanticInterpretationTag objects.

.NET Framework
Available since 3.0
Return to top
Show: