Share via


ISpeechPhraseReplacement Text Property (SAPI 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.

Syntax

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

Parts

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

Example

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