ISpeechPhraseInfo Properties Property

Microsoft Speech SDK

Intelligent Interface Technologies Home Page Microsoft Speech SDK

Speech Automation 5.1

Interface: ISpeechPhraseInfo

Properties Property


The Properties property returns the root property for the result.


Syntax

Set: (This property is read-only)
Get: ISpeechPhraseProperties = ISpeechPhraseInfo.Properties

Parts

ISpeechPhraseInfo
The owning object.
ISpeechPhraseProperties
Set: (This property is read-only)
Get: An ISpeechPhraseProperties interface for the properties.

Remarks

If the recognition result does not have an associated property, the Property will have a value of Nothing.

Example

The following code snippet assumes a valid recognition RecoResult, although it still checks for validity. The sample displays a message box for each Name and Value of available properties.

Dim rp As ISpeechPhraseInfo
Set rp = RecoResult.PhraseInfo
	
Dim i As Long
If Not rp.Properties Is Nothing Then
   For i = 0 To rp.Properties.Count
      MsgBox Result.PhraseInfo.Properties.Item(i).Name
      MsgBox Result.PhraseInfo.Properties.Item(i).Value
   Next i
End If