PromptVolume Enum
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Enumerates values for volume levels (loudness) in prompts.
public enum class PromptVolume
public enum PromptVolume
type PromptVolume =
Public Enum PromptVolume
- Inheritance
Name | Value | Description |
---|---|---|
NotSet | 0 | Indicates that the volume level is not set. |
Silent | 1 | Indicates a muted volume level. |
ExtraSoft | 2 | Indicates an extra soft volume level. |
Soft | 3 | Indicates a soft volume level. |
Medium | 4 | Indicates a medium volume level. |
Loud | 5 | Indicates a loud volume level. |
ExtraLoud | 6 | Indicates an extra loud volume level. |
Default | 7 | Indicates the engine-specific default volume level. |
Members of the PromptVolume enumeration are used by the PromptStyle constructor, by the AppendText method, and by the StartStyle method to specify the volume level for spoken text. The Volume property gets the volume for a PromptStyle object using a PromptVolume instance.
Product | Versions |
---|---|
.NET | 8 (package-provided), 9 (package-provided) |
.NET Framework | 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7 (package-provided), 4.7, 4.7.1 (package-provided), 4.7.1, 4.7.2 (package-provided), 4.7.2, 4.8 (package-provided), 4.8, 4.8.1 |
.NET Standard | 2.0 (package-provided) |
.NET feedback
.NET is an open source project. Select a link to provide feedback: