SrgsItem.SetRepeat Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Définit le nombre de répétitions d’un élément.
Surcharges
| Nom | Description |
|---|---|
| SetRepeat(Int32) |
Définit le nombre de fois où le contenu d’un SrgsItem doit être prononcé. |
| SetRepeat(Int32, Int32) |
Définit le nombre minimal de fois et le nombre maximal de fois qu’un élément peut être parlé. |
SetRepeat(Int32)
Définit le nombre de fois où le contenu d’un SrgsItem doit être prononcé.
public:
void SetRepeat(int count);
public void SetRepeat(int count);
member this.SetRepeat : int -> unit
Public Sub SetRepeat (count As Integer)
Paramètres
- count
- Int32
Nombre de fois où l’élément doit être prononcé.
Exceptions
count est inférieur à 0 ou supérieur à 255.
Remarques
Cette méthode définit les propriétés et MaxRepeat les MinRepeat propriétés sur la valeur dans count.
Voir aussi
S’applique à
SetRepeat(Int32, Int32)
Définit le nombre minimal de fois et le nombre maximal de fois qu’un élément peut être parlé.
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)
Paramètres
- minRepeat
- Int32
Nombre minimal de fois où l’élément doit être prononcé.
- maxRepeat
- Int32
Nombre maximal de fois où l’élément peut être prononcé.
Exceptions
minRepeat est inférieur à zéro ou supérieur à 255.
maxRepeat est inférieur à zéro ou supérieur à 255.
minRepeat est supérieur à maxRepeat.