PromptStyle 类

定义

定义由重点、速率和音量设置组成的语音提示的样式。Defines a style for speaking prompts that consists of settings for emphasis, rate, and volume.

public ref class PromptStyle
[System.Serializable]
public class PromptStyle
type PromptStyle = class
Public Class PromptStyle
继承
PromptStyle
属性

构造函数

PromptStyle()

初始化 PromptStyle 类的新实例。Initializes a new instance of the PromptStyle class.

PromptStyle(PromptEmphasis)

初始化 PromptStyle 类的新实例并指定用于强调该样式的设置。Initializes a new instance of the PromptStyle class and specifies the setting for the emphasis of the style.

PromptStyle(PromptRate)

初始化 PromptStyle 类的新实例并指定用于该样式的口述频率的设置。Initializes a new instance of the PromptStyle class and specifies the setting for the speaking rate of the style.

PromptStyle(PromptVolume)

初始化 PromptStyle 类的新实例并指定该样式的口述音量的设置。Initializes a new instance of the PromptStyle class and specifies the setting for the speaking volume of the style.

属性

Emphasis

获取或设置样式重点设置。Gets or sets the setting for the emphasis of the style.

Rate

获取或设置样式的语速设置。Gets or sets the setting for the speaking rate of the style.

Volume

获取或设置样式的音量(大声)设置。Gets or sets the setting for the volume (loudness) of the style.

方法

Equals(Object)

确定指定对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(继承自 Object)
GetHashCode()

用作默认哈希函数。Serves as the default hash function.

(继承自 Object)
GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
ToString()

返回表示当前对象的字符串。Returns a string that represents the current object.

(继承自 Object)

适用于