VoiceGender VoiceGender VoiceGender VoiceGender Enum

定义

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

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

字段

Female Female Female Female 2

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

Male Male Male Male 1

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

Neutral Neutral Neutral Neutral 3

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

NotSet NotSet NotSet 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. 所有SelectVoiceByHints方法和三个StartVoice方法使用VoiceGender指定时选择语音的性别。All 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.

适用于