VoiceAge Enumeration

The object model representation for the acceptable values to which the age attribute, of the SSML Voice element, can be set.

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

public enum VoiceAge
public enum VoiceAge
public enum VoiceAge

 Member nameDescription
AdultThe value that represents an adult's voice. 
ChildThe value that represents a child's voice. 
NotSetThe value that represents the age not being set to a specific value. 
SeniorThe value that represents a senior's voice. 
TeenThe value that represents a teen's voice. 

In SSML, the age attribute takes an integer value. In an attempt to make selecting the right integer corresponding to the age for the voice less trivial, the VoiceAge enumeration uses an age group that maps to an integer value that is associated with that age.

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0

Community Additions