Represents information about what can be rendered, either text or an audio file, by the SpeechSynthesizer.
Assembly: Microsoft.Speech (in Microsoft.Speech.dll)
A object can contain plain text, text formatted with markup language, or audio files.
An empty object is created with each new instance of PromptBuilder. The PromptBuilder class provides methods for adding content, including text, SSML markup, bookmarks, and prerecorded audio files (such as .wav files), to the empty object that it contains. Typically, applications will use PromptBuilder, rather than a object, to create prompts and populate them with content.
To generate speech from the contents of a object, use the Speak(Prompt) method.