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.

適用於