VoiceGender Enumeration

 

Defines the values for the gender of a synthesized voice.

Namespace:   System.Speech.Synthesis
Assembly:  System.Speech (in System.Speech.dll)

public enum class VoiceGender

Member nameDescription
Female

Indicates a female voice.

Male

Indicates a male voice.

Neutral

Indicates a gender-neutral voice.

NotSet

Indicates no voice gender specification.

VoiceGender can indicate the gender of an existing voice or a gender preference when selecting a voice. All of the SelectVoiceByHints methods and three of the StartVoice methods use VoiceGender to specify the gender when selecting a voice. The Gender property obtains the gender of an existing voice using a VoiceGender member.

.NET Framework
Available since 3.0
Return to top
Show: