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