![Collapse image Collapse image](collapse_all.gif)
![Expand Image Expand Image](expand_all.gif)
![](collapse_all.gif)
![](expand_all.gif)
![](dropdown.gif)
![](dropdownHover.gif)
![Copy image Copy image](copycode.gif)
![CopyHover image CopyHover image](copycodeHighlight.gif)
Sets the number of times that the contents of an SrgsItem must be spoken.
Namespace:
Microsoft.Speech.Recognition.SrgsGrammar
Assembly:
Microsoft.Speech (in Microsoft.Speech.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Sub SetRepeat ( _ count As Integer _ ) |
Visual Basic (Usage) |
---|
Dim instance As SrgsItem Dim count As Integer instance.SetRepeat(count) |
C# |
---|
public void SetRepeat( int count ) |
Parameters
- count
- Type: System..::..Int32
The number of times that the item must be spoken.
Exceptions
Exception | Condition |
---|---|
ArgumentOutOfRangeException | count is less than 0 or greater than 255. |