Note

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

SrgsOneOf.Items Property

Gets the list of all the alternatives contained in the SrgsOneOf element.

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

Syntax

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

value = instance.Items
public Collection<SrgsItem> Items { get; }

Property Value

Type: System.Collections.ObjectModel.Collection<SrgsItem>
Returns the list of alternatives.

Remarks

The alternative words and phrases returned by this property may have been added to the SrgsOneOf as SrgsItem or String objects.

See Also

Reference

SrgsOneOf Class

SrgsOneOf Members

Microsoft.Speech.Recognition.SrgsGrammar Namespace

Other Resources

Create Grammars Using SrgsGrammar (Microsoft.Speech)