다음을 통해 공유


Note

Please see Azure Cognitive Services for Speech documentation for the latest supported speech solutions.

SrgsItem.Elements Property

Gets the collection of objects contained by the SrgsItem instance.

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

Syntax

'Declaration
Public ReadOnly Property Elements As Collection(Of SrgsElement)
    Get
'Usage
Dim instance As SrgsItem
Dim value As Collection(Of SrgsElement)

value = instance.Elements
public Collection<SrgsElement> Elements { get; }

Property Value

Type: System.Collections.ObjectModel.Collection<SrgsElement>
The collection of objects contained by the SrgsItem instance.

See Also

Reference

SrgsItem Class

SrgsItem Members

Microsoft.Speech.Recognition.SrgsGrammar Namespace

Other Resources

Create Grammars Using SrgsGrammar (Microsoft.Speech)