ProsodyNumber 结构

定义

指定诗体论属性及其值。Specifies prosody attributes and their values.

public value class ProsodyNumber : IEquatable<System::Speech::Synthesis::TtsEngine::ProsodyNumber>
public struct ProsodyNumber : IEquatable<System.Speech.Synthesis.TtsEngine.ProsodyNumber>
type ProsodyNumber = struct
Public Structure ProsodyNumber
Implements IEquatable(Of ProsodyNumber)
继承
ProsodyNumber
实现

构造函数

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.

字段

AbsoluteNumber

保存一个表示韵律特性设置的值。Holds a value that represents a setting for a prosody attribute.

属性

IsNumberPercent

获知 Number 属性是否表示一个百分比值。Gets whether the Number property represents a percent value.

Number

获取 SSML Prosody 属性的数值。Gets a numeric value for an SSML prosody attribute.

SsmlAttributeId

获取 SSML Prosody 属性的标识符。Gets the identifier for an SSML prosody attribute.

Unit

获取在数量更改指定的单元。Gets the unit in which the amount of change is specified.

方法

Equals(Object)

确定指定的对象是否为 ProsodyNumber 的实例,并与当前 ProsodyNumber 实例是否相等。Determines whether a specified object is an instance of ProsodyNumber and equal to the current instance of ProsodyNumber.

Equals(ProsodyNumber)

确定指定的 ProsodyNumber 对象是否与当前 ProsodyNumber 实例相等。Determines whether a specified ProsodyNumber object is equal to the current instance of ProsodyNumber.

GetHashCode()

提供 ProsodyNumber 对象的哈希代码。Provides a hash code for a ProsodyNumber object.

运算符

Equality(ProsodyNumber, ProsodyNumber)

确定两个 ProsodyNumber 实例是否相等。Determines whether two instances of ProsodyNumber are equal.

Inequality(ProsodyNumber, ProsodyNumber)

确定两个 ProsodyNumber 实例是否不相等。Determines whether two instances of ProsodyNumber are not equal.

适用于