Dela via


SrgsRule.Elements Property

Definition

Gets the collection of SrgsElement objects in the SrgsRule instance.

public:
 property System::Collections::ObjectModel::Collection<System::Speech::Recognition::SrgsGrammar::SrgsElement ^> ^ Elements { System::Collections::ObjectModel::Collection<System::Speech::Recognition::SrgsGrammar::SrgsElement ^> ^ get(); };
public System.Collections.ObjectModel.Collection<System.Speech.Recognition.SrgsGrammar.SrgsElement> Elements { get; }
member this.Elements : System.Collections.ObjectModel.Collection<System.Speech.Recognition.SrgsGrammar.SrgsElement>
Public ReadOnly Property Elements As Collection(Of SrgsElement)

Property Value

The collection of elements in the rule.

Remarks

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

Applies to

See also