SpeechSynthesizer.SetVoice method

Sets the synthesized voice.

Syntax

public void SetVoice(
  VoiceInformation voiceInformation
)
Public Sub SetVoice(
  voiceInformation As VoiceInformation 
)
public:
void SetVoice(
  VoiceInformation^ voiceInformation
)

Parameters

  • voiceInformation
    Type: VoiceInformation

    The synthesized voice to be used.

Remarks

Call this method after obtaining a VoiceInformation object that you wish to use as the synthesized voice. You can use the InstalledVoices class to get the object.

For more information about how to use the SetVoice method, see Speech output for Windows Phone.

Requirements

Minimum supported client

None supported

Minimum supported server

None supported

Minimum supported phone

Windows Phone 8

Namespace

Windows.Phone.Speech.Synthesis Windows::Phone::Speech::Synthesis [C++]

Metadata

Windows.WinMD

Capabilities

ID_CAP_SPEECH_RECOGNITION [Windows Phone]

See also

SpeechSynthesizer