This documentation is archived and is not being maintained.

VoiceAge Enumeration

Defines the values for the age of a synthesized voice.

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

public enum VoiceAge

Member nameDescription
NotSetIndicates that no voice age is specified.
ChildIndicates a child voice (age 10).
TeenIndicates a teenage voice (age 15).
AdultIndicates an adult voice (age 30).
SeniorIndicates a senior voice (age 65).

VoiceAge can indicate the age of an existing voice or an age preference when selecting a voice. Three of the SelectVoiceByHints() methods and two of the StartVoice() methods use VoiceAge to specify the age when selecting a voice. The Age property obtains the age of an existing voice using a VoiceAge member.

.NET Framework

Supported in: 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.