SpeechSynthesizer.SelectVoiceByHints Method (VoiceGender, VoiceAge, Int32)

Selects a voice with a specific voice gender and voice age, specifying an alternate voice.

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

Syntax

'Declaration




Parameters

  • gender
    A VoiceGender member that indicates the requested voice gender.
  • age
    A VoiceAge member that indicates the requested voice age.
  • voiceAlternate
    The name of an alternate voice.

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

SpeechSynthesizer Class
SpeechSynthesizer Members
Microsoft.Speech.Synthesis Namespace