Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents information about what can be rendered, either text or an audio file, by the SpeechSynthesizer.
public ref class Prompt
public class Prompt
type Prompt = class
Public Class Prompt
A Prompt object can contain plain text, text formatted with markup language, or audio files.
An empty Prompt 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 Prompt object that it contains. Typically, applications will use PromptBuilder, rather than a Prompt object, to create prompts and populate them with content.
Creates a new instance of the Prompt class and specifies the text to be spoken.
Creates a new instance of the Prompt class and specifies the text to be spoken and whether its format is plain text or markup language.
Gets whether the Prompt has finished playing.
Determines whether the specified object is equal to the current object.(Inherited from Object)
Serves as the default hash function.(Inherited from Object)
Gets the Type of the current instance.(Inherited from Object)
Creates a shallow copy of the current Object.(Inherited from Object)
Returns a string that represents the current object.(Inherited from Object)