Share via


VoiceInfo Class

Represents a text-to-speech (TTS) voice.

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

Syntax

'Declaration
<SerializableAttribute> _
<DebuggerDisplayAttribute("{(_name != null ? " & ChrW(34) & "'" & ChrW(34) & " + _name + " & ChrW(34) & "' " & ChrW(34) & " : " & ChrW(34) & "" & ChrW(34) & ") +  (_culture != null ? " & ChrW(34) & " '" & ChrW(34) & " + _culture.ToString () + " & ChrW(34) & "' " & ChrW(34) & " : " & ChrW(34) & "" & ChrW(34) & ") + (_gender != VoiceGender.NotSet ? " & ChrW(34) & " '" & ChrW(34) & " + _gender.ToString () + " & ChrW(34) & "' " & ChrW(34) & " : " & ChrW(34) & "" & ChrW(34) & ") + (_age != VoiceAge.NotSet ? " & ChrW(34) & " '" & ChrW(34) & " + _age.ToString () + " & ChrW(34) & "' " & ChrW(34) & " : " & ChrW(34) & "" & ChrW(34) & ") + (_variant > 0 ? " & ChrW(34) & " " & ChrW(34) & " + _variant.ToString () : " & ChrW(34) & "" & ChrW(34) & ")}")> _
Public NotInheritable Class VoiceInfo
[SerializableAttribute] 
[DebuggerDisplayAttribute("{(_name != null ? \"\'\" + _name + \"\' \" : \"\") +  (_culture != null ? \" \'\" + _culture.ToString () + \"\' \" : \"\") + (_gender != VoiceGender.NotSet ? \" \'\" + _gender.ToString () + \"\' \" : \"\") + (_age != VoiceAge.NotSet ? \" \'\" + _age.ToString () + \"\' \" : \"\") + (_variant > 0 ? \" \" + _variant.ToString () : \"\")}")] 
public sealed class VoiceInfo
[SerializableAttribute] 
[DebuggerDisplayAttribute(L"{(_name != null ? \"\'\" + _name + \"\' \" : \"\") +  (_culture != null ? \" \'\" + _culture.ToString () + \"\' \" : \"\") + (_gender != VoiceGender.NotSet ? \" \'\" + _gender.ToString () + \"\' \" : \"\") + (_age != VoiceAge.NotSet ? \" \'\" + _age.ToString () + \"\' \" : \"\") + (_variant > 0 ? \" \" + _variant.ToString () : \"\")}")] 
public ref class VoiceInfo sealed
/** @attribute SerializableAttribute() */ 
/** @attribute DebuggerDisplayAttribute("{(_name != null ? \"\'\" + _name + \"\' \" : \"\") +  (_culture != null ? \" \'\" + _culture.ToString () + \"\' \" : \"\") + (_gender != VoiceGender.NotSet ? \" \'\" + _gender.ToString () + \"\' \" : \"\") + (_age != VoiceAge.NotSet ? \" \'\" + _age.ToString () + \"\' \" : \"\") + (_variant > 0 ? \" \" + _variant.ToString () : \"\")}") */ 
public final class VoiceInfo
SerializableAttribute 
DebuggerDisplayAttribute("{(_name != null ? \u0022\u0027\u0022 + _name + \u0022\u0027 \u0022 : \u0022\u0022) +  (_culture != null ? \u0022 \u0027\u0022 + _culture.ToString () + \u0022\u0027 \u0022 : \u0022\u0022) + (_gender != VoiceGender.NotSet ? \u0022 \u0027\u0022 + _gender.ToString () + \u0022\u0027 \u0022 : \u0022\u0022) + (_age != VoiceAge.NotSet ? \u0022 \u0027\u0022 + _age.ToString () + \u0022\u0027 \u0022 : \u0022\u0022) + (_variant > 0 ? \u0022 \u0022 + _variant.ToString () : \u0022\u0022)}") 
public final class VoiceInfo

Inheritance Hierarchy

System.Object
  Microsoft.Speech.Synthesis.VoiceInfo

Thread Safety

All public static (Shared in Visual Basic) members of this type are thread-safe. Instance members are not guaranteed to be thread-safe.

Platforms

Development Platforms

Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003, Windows Vista Ultimate Edition, Windows Vista Business Edition, Windows Vista Enterprise Edition

Target Platforms

See Also

Reference

VoiceInfo Members
Microsoft.Speech.Synthesis Namespace