Note

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

SrgsItem.MinRepeat Property

Gets the minimum number of times that a user can speak the contents of the SrgsItem.

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

Syntax

'Declaration
Public ReadOnly Property MinRepeat As Integer
    Get
'Usage
Dim instance As SrgsItem
Dim value As Integer

value = instance.MinRepeat
public int MinRepeat { get; }

Property Value

Type: System.Int32
The minimum number of times that a user can speak the contents of the item.

Remarks

To set this property, use the SetRepeat method.

This property represents a portion of the repeat attribute of the World Wide Web Consortium (W3C) Speech Recognition Grammar Specification (SRGS) Version 1.0.

See Also

Reference

SrgsItem Class

SrgsItem Members

Microsoft.Speech.Recognition.SrgsGrammar Namespace

Other Resources

Create Grammars Using SrgsGrammar (Microsoft.Speech)