MaxRepeat Property

Microsoft Speech Platform SDK 11

Collapse image Expand Image Copy image CopyHover image

Gets the maximum 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

Visual Basic (Declaration)
Public ReadOnly Property MaxRepeat As Integer
	Get
Visual Basic (Usage)
Dim instance As SrgsItem
Dim value As Integer

value = instance.MaxRepeat
C#
public int MaxRepeat { get; }

Property Value

Type: System..::..Int32

The maximum 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