Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Collapse the table of content
Expand the table of content

ISpeechPhraseReplacement Text Property (SAPI 5.3)

Speech API 5.3

Microsoft Speech API 5.3

Interface: ISpeechPhraseReplacement

Text Property

The Text property returns the text of the replacement.

The phrase elements replaced are contained in the same recognition result that contains the phrase replacement. The Text property is the replacement for the number of phrase elements in the NumberOfElements property, beginning with the element specified in the FirstElement property.


Set: (This property is read-only)
Get: String = ISpeechPhraseReplacement.Text


The owning object.
Set: (This property is read-only)
Get: A String variable representing the value of the property.


Use of the Text property is demonstrated in a code example at the end of this section.

© 2015 Microsoft