Represents information about what can be rendered, either text or an audio file, by the SpeechSynthesizer.
Assembly: System.Speech (in System.Speech.dll)
Creates a new instance of the PromptBuilder object.class from a
Creates a new instance of theclass and specifies the text to be spoken.
Creates a new instance of theclass and specifies the text to be spoken and whether its format is plain text or markup language.
Determines whether the specified object is equal to the current object.(Inherited from Object.)
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)
Serves as the default hash function. (Inherited from Object.)
Returns a string that represents the current object.(Inherited from Object.)
Aobject can contain plain text, text formatted with markup language, or audio files.
An empty 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.object is created with each new instance of
To generate speech from the contents of a Speak method.object, use the
Available since 3.0
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.