Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
134 lines (132 sloc) 6.5 KB
<Type Name="VoiceAge" FullName="System.Speech.Synthesis.VoiceAge">
<TypeSignature Language="C#" Value="public enum VoiceAge" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi sealed VoiceAge extends System.Enum" />
<TypeSignature Language="DocId" Value="T:System.Speech.Synthesis.VoiceAge" />
<TypeSignature Language="VB.NET" Value="Public Enum VoiceAge" />
<TypeSignature Language="C++ CLI" Value="public enum class VoiceAge" />
<TypeSignature Language="F#" Value="type VoiceAge = " />
<AssemblyInfo>
<AssemblyName>System.Speech</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Enum</BaseTypeName>
</Base>
<Docs>
<summary>Defines the values for the age of a synthesized voice.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
<xref:System.Speech.Synthesis.VoiceAge> can indicate the age of an existing voice or an age preference when selecting a voice. Three of the <xref:System.Speech.Synthesis.SpeechSynthesizer.SelectVoiceByHints%2A> methods and two of the <xref:System.Speech.Synthesis.PromptBuilder.StartVoice%2A> methods use <xref:System.Speech.Synthesis.VoiceAge> to specify the age when selecting a voice. The <xref:System.Speech.Synthesis.VoiceInfo.Age%2A> property obtains the age of an existing voice using a <xref:System.Speech.Synthesis.VoiceAge> member.
]]></format>
</remarks>
</Docs>
<Members>
<Member MemberName="Adult">
<MemberSignature Language="C#" Value="Adult" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.Speech.Synthesis.VoiceAge Adult = int32(30)" />
<MemberSignature Language="DocId" Value="F:System.Speech.Synthesis.VoiceAge.Adult" />
<MemberSignature Language="VB.NET" Value="Adult" />
<MemberSignature Language="C++ CLI" Value="Adult" />
<MemberSignature Language="F#" Value="Adult = 30" Usage="System.Speech.Synthesis.VoiceAge.Adult" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>System.Speech</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Speech.Synthesis.VoiceAge</ReturnType>
</ReturnValue>
<MemberValue>30</MemberValue>
<Docs>
<summary>Indicates an adult voice (age 30).</summary>
</Docs>
</Member>
<Member MemberName="Child">
<MemberSignature Language="C#" Value="Child" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.Speech.Synthesis.VoiceAge Child = int32(10)" />
<MemberSignature Language="DocId" Value="F:System.Speech.Synthesis.VoiceAge.Child" />
<MemberSignature Language="VB.NET" Value="Child" />
<MemberSignature Language="C++ CLI" Value="Child" />
<MemberSignature Language="F#" Value="Child = 10" Usage="System.Speech.Synthesis.VoiceAge.Child" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>System.Speech</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Speech.Synthesis.VoiceAge</ReturnType>
</ReturnValue>
<MemberValue>10</MemberValue>
<Docs>
<summary>Indicates a child voice (age 10).</summary>
</Docs>
</Member>
<Member MemberName="NotSet">
<MemberSignature Language="C#" Value="NotSet" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.Speech.Synthesis.VoiceAge NotSet = int32(0)" />
<MemberSignature Language="DocId" Value="F:System.Speech.Synthesis.VoiceAge.NotSet" />
<MemberSignature Language="VB.NET" Value="NotSet" />
<MemberSignature Language="C++ CLI" Value="NotSet" />
<MemberSignature Language="F#" Value="NotSet = 0" Usage="System.Speech.Synthesis.VoiceAge.NotSet" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>System.Speech</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Speech.Synthesis.VoiceAge</ReturnType>
</ReturnValue>
<MemberValue>0</MemberValue>
<Docs>
<summary>Indicates that no voice age is specified.</summary>
</Docs>
</Member>
<Member MemberName="Senior">
<MemberSignature Language="C#" Value="Senior" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.Speech.Synthesis.VoiceAge Senior = int32(65)" />
<MemberSignature Language="DocId" Value="F:System.Speech.Synthesis.VoiceAge.Senior" />
<MemberSignature Language="VB.NET" Value="Senior" />
<MemberSignature Language="C++ CLI" Value="Senior" />
<MemberSignature Language="F#" Value="Senior = 65" Usage="System.Speech.Synthesis.VoiceAge.Senior" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>System.Speech</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Speech.Synthesis.VoiceAge</ReturnType>
</ReturnValue>
<MemberValue>65</MemberValue>
<Docs>
<summary>Indicates a senior voice (age 65).</summary>
</Docs>
</Member>
<Member MemberName="Teen">
<MemberSignature Language="C#" Value="Teen" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.Speech.Synthesis.VoiceAge Teen = int32(15)" />
<MemberSignature Language="DocId" Value="F:System.Speech.Synthesis.VoiceAge.Teen" />
<MemberSignature Language="VB.NET" Value="Teen" />
<MemberSignature Language="C++ CLI" Value="Teen" />
<MemberSignature Language="F#" Value="Teen = 15" Usage="System.Speech.Synthesis.VoiceAge.Teen" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>System.Speech</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Speech.Synthesis.VoiceAge</ReturnType>
</ReturnValue>
<MemberValue>15</MemberValue>
<Docs>
<summary>Indicates a teenage voice (age 15).</summary>
</Docs>
</Member>
</Members>
</Type>
You can’t perform that action at this time.