SrgsItem.SetRepeat Método
Definição
Define a contagem de repetições para um item.Sets the repetition count for an item.
Sobrecargas
| SetRepeat(Int32) |
Define o número de vezes que o conteúdo de um SrgsItem precisa ser falado.Sets the number of times that the contents of an SrgsItem must be spoken. |
| SetRepeat(Int32, Int32) |
Define o número mínimo e o número máximo de vezes que um item pode ser falado.Sets the minimum number of times and the maximum number of times that an item can be spoken. |
SetRepeat(Int32)
public:
void SetRepeat(int count);
public void SetRepeat (int count);
member this.SetRepeat : int -> unit
Public Sub SetRepeat (count As Integer)
Parâmetros
- count
- Int32
O número de vezes que o item precisa ser falado.The number of times that the item must be spoken.
Exceções
count é menor que 0 ou maior que 255.count is less than 0 or greater than 255.
Comentários
Esse método define as MaxRepeat MinRepeat Propriedades e para o valor em count .This method sets the MaxRepeat and MinRepeat properties to the value in count.
Aplica-se a
SetRepeat(Int32, Int32)
Define o número mínimo e o número máximo de vezes que um item pode ser falado.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)
Parâmetros
- minRepeat
- Int32
O número mínimo de vezes que o item precisa ser falado.The minimum number of times that the item must be spoken.
- maxRepeat
- Int32
O número máximo de vezes que o item pode ser falado.The maximum number of times that the item can be spoken.
Exceções
minRepeat é menor que zero ou maior que 255.minRepeat is less than zero or larger than 255.
maxRepeat é menor que zero ou maior que 255.maxRepeat is less than zero or larger than 255.
minRepeat é maior que maxRepeat.minRepeat is larger than maxRepeat.