ProsodyNumber 构造函数

定义

创建 ProsodyNumber 类的新实例。Creates a new instance of the ProsodyNumber class.

重载

ProsodyNumber(Int32)

创建 ProsodyNumber 类的新实例并指为诗体论特性指定标识符。Creates a new instance of the ProsodyNumber class and specifies the identifier for a prosody attribute.

ProsodyNumber(Single)

创建 ProsodyNumber 类的新实例并指为诗体论特性指定值。Creates a new instance of the ProsodyNumber class and specifies a value for a prosody attribute.

ProsodyNumber(Int32)

创建 ProsodyNumber 类的新实例并指为诗体论特性指定标识符。Creates a new instance of the ProsodyNumber class and specifies the identifier for a prosody attribute.

public:
 ProsodyNumber(int ssmlAttributeId);
public ProsodyNumber (int ssmlAttributeId);
new System.Speech.Synthesis.TtsEngine.ProsodyNumber : int -> System.Speech.Synthesis.TtsEngine.ProsodyNumber
Public Sub New (ssmlAttributeId As Integer)

参数

ssmlAttributeId
Int32

该 prosody 特性的标识符。The identifier for a prosody attribute.

适用于

ProsodyNumber(Single)

创建 ProsodyNumber 类的新实例并指为诗体论特性指定值。Creates a new instance of the ProsodyNumber class and specifies a value for a prosody attribute.

public:
 ProsodyNumber(float number);
public ProsodyNumber (float number);
new System.Speech.Synthesis.TtsEngine.ProsodyNumber : single -> System.Speech.Synthesis.TtsEngine.ProsodyNumber
Public Sub New (number As Single)

参数

number
Single

诗体论特性的值。A value for a prosody attribute.

适用于