![Collapse image Collapse image](collapse_all.gif)
![Expand Image Expand Image](expand_all.gif)
![](collapse_all.gif)
![](expand_all.gif)
![](dropdown.gif)
![](dropdownHover.gif)
![Copy image Copy image](copycode.gif)
![CopyHover image CopyHover image](copycodeHighlight.gif)
Defines the values for the age of a synthesized voice.
Namespace:
Microsoft.Speech.Synthesis
Assembly:
Microsoft.Speech (in Microsoft.Speech.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Enumeration VoiceAge |
Visual Basic (Usage) |
---|
Dim instance As VoiceAge |
C# |
---|
public enum VoiceAge |
Members
Member name | Description | |
---|---|---|
NotSet | Indicates that no voice age is specified. | |
Child | Indicates a child voice (age 10). | |
Teen | Indicates a teenage voice (age 15). | |
Adult | Indicates an adult voice (age 30). | |
Senior | Indicates a senior voice (age 65). |
Remarks
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.