![Collapse image Collapse image](collapse_all.gif)
![Expand Image Expand Image](expand_all.gif)
![](collapse_all.gif)
![](expand_all.gif)
![](dropdown.gif)
![](dropdownHover.gif)
![Copy image Copy image](copycode.gif)
![CopyHover image CopyHover image](copycodeHighlight.gif)
Initializes a new instance of the PromptStyle class and specifies the setting for the speaking volume of the style.
Namespace:
Microsoft.Speech.Synthesis
Assembly:
Microsoft.Speech (in Microsoft.Speech.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Sub New ( _ volume As PromptVolume _ ) |
Visual Basic (Usage) |
---|
Dim volume As PromptVolume Dim instance As New PromptStyle(volume) |
C# |
---|
public PromptStyle( PromptVolume volume ) |
Parameters
- volume
- Type: Microsoft.Speech.Synthesis..::..PromptVolume
The setting for the volume (loudness) of the style.