Share via


ISpeechPhraseReplacement FirstElement Property (SAPI 5.4)

Microsoft Speech API 5.4

Interface: ISpeechPhraseReplacement

FirstElement Property

The FirstElement property returns the index of the first phrase element to be replaced.

The phrase elements replaced are contained in the same recognition result that contains the phrase replacement.

Syntax

Set: (This property is read-only)
Get: Long = ISpeechPhraseReplacement.FirstElement

Parts

  • ISpeechPhraseReplacement
    The owning object.
  • Long
    Set: (This property is read-only)
    Get: A Long variable that gets the property.

Example

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