語言

SrgsRule.Elements 屬性

定義

取得實SrgsElement例中的物件集合SrgsRule。

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)

屬性值

規則中的元素集合。

備註

物件SrgsRule中的元素可以由 SrgsItem、 SrgsOneOf、 SrgsRuleRefSrgsToken、 SrgsNameValueTagSrgsSemanticInterpretationTag 、 以及 物件組成。

適用於

另請參閱