Initializes a new instance of the PromptStyle class and specifies the setting for the speaking rate of the style.
Namespace:
Microsoft.Speech.Synthesis
Assembly:
Microsoft.Speech (in Microsoft.Speech.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Sub New ( _ rate As PromptRate _ ) |
Visual Basic (Usage) |
---|
Dim rate As PromptRate Dim instance As New PromptStyle(rate) |
C# |
---|
public PromptStyle( PromptRate rate ) |
Parameters
- rate
- Type: Microsoft.Speech.Synthesis..::..PromptRate
The setting for the speaking rate of the style.