VoiceGender Enumeration

Defines the values for the gender of synthesized voices.

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

public enum VoiceGender

Member nameDescription
NotSetIndicates no voice gender specification.
MaleIndicates a male voice.
FemaleIndicates a female voice.
NeutralIndicates a gender-neutral voice.

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.

Show: