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. |