PromptVolume 枚举

定义

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

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

字段

Default 7

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

ExtraLoud 6

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

ExtraSoft 2

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

Loud 5

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

Medium 4

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

NotSet 0

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

Silent 1

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

Soft 3

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

注解

枚举的成员由PromptStyle构造函数、 AppendText方法和StartStyle方法使用, 以指定口述文本的音量级别。 PromptVolumeMembers 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.

适用于

另请参阅