SrgsItem.RepeatProbability Propriedade

Definição

Obtém ou define a probabilidade de que um usuário repetirá o conteúdo dessa instância de SrgsItem.Gets or sets the probability that a user will repeat the contents of this SrgsItem instance.

public:
 property float RepeatProbability { float get(); void set(float value); };
public float RepeatProbability { get; set; }
member this.RepeatProbability : single with get, set
Public Property RepeatProbability As Single

Valor da propriedade

Single

A probabilidade, como um valor de ponto flutuante, que o conteúdo desse item será falado repetidamente.The probability, as a floating point value, that the contents of this item will be repeatedly spoken.

Exceções

É feita uma tentativa de definir RepeatProbability como um valor negativo ou maior que 1.0.An attempt is made to set RepeatProbability to a value that is negative or larger than 1.0.

Comentários

A propriedade aplica-se somente a itens cujas MinRepeat Propriedades e foram MaxRepeat explicitamente definidas como valores não padrão, seja por um construtor para SrgsItem ou pelo SetRepeat método.The property applies only to items whose MinRepeat and MaxRepeat properties have been explicitly set to non-default values, either by a constructor for SrgsItem or by the SetRepeat method.

Aplica-se a