Share via


SrgsItem.RepeatProbability Property

Definition

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

Property Value

The probability, as a floating point value, that the contents of this item will be repeatedly spoken.

Exceptions

An attempt is made to set RepeatProbability to a value that is negative or larger than 1.0.

Remarks

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.

Applies to

See also