SrgsItem.SetRepeat Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the repetition count for an item.
Overloads
SetRepeat(Int32) |
Sets the number of times that the contents of an SrgsItem must be spoken. |
SetRepeat(Int32, Int32) |
Sets the minimum number of times and the maximum number of times that an item can be spoken. |
SetRepeat(Int32)
- Source:
- SrgsItem.cs
- Source:
- SrgsItem.cs
Sets the number of times that the contents of an SrgsItem must be spoken.
public:
void SetRepeat(int count);
public void SetRepeat (int count);
member this.SetRepeat : int -> unit
Public Sub SetRepeat (count As Integer)
Parameters
- count
- Int32
The number of times that the item must be spoken.
Exceptions
count
is less than 0 or greater than 255.
Remarks
This method sets the MaxRepeat and MinRepeat properties to the value in count
.
See also
Applies to
SetRepeat(Int32, Int32)
- Source:
- SrgsItem.cs
- Source:
- SrgsItem.cs
Sets the minimum number of times and the maximum number of times that an item can be spoken.
public:
void SetRepeat(int minRepeat, int maxRepeat);
public void SetRepeat (int minRepeat, int maxRepeat);
member this.SetRepeat : int * int -> unit
Public Sub SetRepeat (minRepeat As Integer, maxRepeat As Integer)
Parameters
- minRepeat
- Int32
The minimum number of times that the item must be spoken.
- maxRepeat
- Int32
The maximum number of times that the item can be spoken.
Exceptions
minRepeat
is less than zero or larger than 255.
maxRepeat
is less than zero or larger than 255.
minRepeat
is larger than maxRepeat
.
See also
Applies to
.NET