VoiceGender 枚举

定义

定义合成语音性别的值。Defines the values for the gender of a synthesized voice.

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

字段

Female 2

指示女性语音。Indicates a female voice.

Male 1

指示男性语音。Indicates a male voice.

Neutral 3

指示不确定性别的语音。Indicates a gender-neutral voice.

NotSet 0

指示无语音性别规范。Indicates no voice gender specification.

注解

VoiceGender选择语音时, 可以指示现有语音或性别首选项的性别。VoiceGender can indicate the gender of an existing voice or a gender preference when selecting a voice. 选择语音时, 所有StartVoice VoiceGender方法和三个方法都使用来指定性别。 SelectVoiceByHintsAll of the SelectVoiceByHints methods and three of the StartVoice methods use VoiceGender to specify the gender when selecting a voice. Gender 属性VoiceGender使用成员获取现有语音的性别。The Gender property obtains the gender of an existing voice using a VoiceGender member.

适用于