Export (0) Print
Expand All

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

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4
© 2015 Microsoft