Items Property

Microsoft Speech Platform SDK 11

Collapse image Expand Image Copy image CopyHover image

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

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

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

Property Value

Type: System.Collections.ObjectModel..::..Collection<(Of <(<'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