Export (0) Print
Expand All

PromptBuilder Methods

The PromptBuilder type exposes the following members.

  Name Description
Public method AppendAudio(String) Appends the specified audio file to the PromptBuilder.
Public method AppendAudio(Uri) Appends the audio file at the specified URI to the PromptBuilder.
Public method AppendAudio(Uri, String) Appends the specified audio file and alternate text to the PromptBuilder.
Public method AppendBookmark Appends a bookmark to the PromptBuilder object.
Public method AppendBreak() Appends a break to the PromptBuilder object.
Public method AppendBreak(PromptBreak) Appends a break to the PromptBuilder object and specifies its strength (duration).
Public method AppendBreak(TimeSpan) Appends a break of the specified duration to the PromptBuilder object.
Public method AppendPromptBuilder Appends a PromptBuilder object to another PromptBuilder object.
Public method AppendSsml(String) Appends the SSML file at the specified path to the PromptBuilder object.
Public method AppendSsml(Uri) Appends the SSML file at the specified URI to the PromptBuilder object.
Public method AppendSsml(XmlReader) Appends an XMLReader object that references an SSML prompt to the PromptBuilder object.
Public method AppendSsmlMarkup Appends the specified string containing SSML markup to the PromptBuilder object.
Public method AppendText(String) Specifies text to append to the PromptBuilder object.
Public method AppendText(String, PromptEmphasis) Appends text to the PromptBuilder object and specifies the degree of emphasis for the text.
Public method AppendText(String, PromptRate) Appends text to the PromptBuilder object and specifies the speaking rate for the text.
Public method AppendText(String, PromptVolume) Appends text to the PromptBuilder object and specifies the volume to speak the text.
Public method AppendTextWithAlias Appends text to the PromptBuilder object and specifies the alias text to be spoken in place of the appended text.
Public method AppendTextWithHint(String, SayAs) Appends text to the PromptBuilder object and specifies the content type using a member of the SayAs enumeration.
Public method AppendTextWithHint(String, String) Appends text to the PromptBuilder object and a String that specifies the content type of the text.
Public method AppendTextWithPronunciation Appends text to the PromptBuilder object and specifies the pronunciation for the text.
Public method ClearContent Clears the content from the PromptBuilder object.
Public method EndParagraph Specifies the end of a paragraph in the PromptBuilder object.
Public method EndSentence Specifies the end of a sentence in the PromptBuilder object.
Public method EndStyle Specifies the end of a style in the PromptBuilder object.
Public method EndVoice Specifies the end of use of a voice in the PromptBuilder object.
Public method Equals(Object) Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method StartParagraph() Specifies the start of a paragraph in the PromptBuilder object.
Public method StartParagraph(CultureInfo) Specifies the start of a paragraph in the specified culture in the PromptBuilder object.
Public method StartSentence() Specifies the start of a sentence in the PromptBuilder object.
Public method StartSentence(CultureInfo) Specifies the start of a sentence in the specified culture in the PromptBuilder object.
Public method StartStyle Specifies the start of a style in the PromptBuilder object.
Public method StartVoice(CultureInfo) Instructs the synthesizer to change the voice in the PromptBuilder object and specifies the culture of the voice to use.
Public method StartVoice(String) Instructs the synthesizer to change the voice in the PromptBuilder object and specifies the name of the voice to use.
Public method StartVoice(VoiceGender) Instructs the synthesizer to change the voice in the PromptBuilder object and specifies the gender of the voice to use.
Public method StartVoice(VoiceInfo) Instructs the synthesizer to change the voice in the PromptBuilder object and specifies criteria for the new voice.
Public method StartVoice(VoiceGender, VoiceAge) Instructs the synthesizer to change the voice in the PromptBuilder object and specifies the gender and the age of the new voice.
Public method StartVoice(VoiceGender, VoiceAge, Int32) Instructs the synthesizer to change the voice in the PromptBuilder object and specifies its gender, age, and a preferred voice that matches the specified gender and age.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method ToXml Returns the SSML generated from the PromptBuilder object.
Top
Show:
© 2014 Microsoft