PromptVolume PromptVolume PromptVolume PromptVolume Enum


枚举提示的卷级别的值。Enumerates values for volume levels (loudness) in prompts.

public enum class PromptVolume
public enum PromptVolume
type PromptVolume = 
Public Enum PromptVolume


Default Default Default Default 7

指示引擎特定默认音量。Indicates the engine-specific default volume level.

ExtraLoud ExtraLoud ExtraLoud ExtraLoud 6

指示一个超大音量级别。Indicates an extra loud volume level.

ExtraSoft ExtraSoft ExtraSoft ExtraSoft 2

指示一个柔和音量级别。Indicates an extra soft volume level.

Loud Loud Loud Loud 5

指示一个大音量级别。Indicates a loud volume level.

Medium Medium Medium Medium 4

指示一个中音量级别。Indicates a medium volume level.

NotSet NotSet NotSet NotSet 0

指示该音量级别不能设置。Indicates that the volume level is not set.

Silent Silent Silent Silent 1

指示一个静音级别。Indicates a muted volume level.

Soft Soft Soft Soft 3

指示一个柔和音量级别。Indicates a soft volume level.


成员PromptVolume通过使用枚举PromptStyle构造函数,也可由AppendText方法,并通过StartStyle方法,以指定语音文本的音量级别。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. Volume属性获取的卷PromptStyle对象使用PromptVolume实例。The Volume property gets the volume for a PromptStyle object using a PromptVolume instance.